Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7499/0.7499, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 183.9 kB / 173.7 MB, free: 6.121 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 101.1 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 13 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 76.76 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.011/6.182, allocations: 2.165 GB / 2.8 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/6.182, allocations: 76.23 kB / 2.8 GB, free: 214.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05755/6.24, allocations: 30.24 MB / 2.83 GB, free: 184.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/6.24, allocations: 4 kB / 2.83 GB, free: 184.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.282e-06/6.24, allocations: 0 / 2.83 GB, free: 184.9 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004054/6.24, allocations: 391.9 kB / 2.83 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/6.241, allocations: 8.031 kB / 2.83 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/6.241, allocations: 34.56 kB / 2.83 GB, free: 184.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/6.241, allocations: 39.86 kB / 2.83 GB, free: 184.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/6.241, allocations: 163.1 kB / 2.83 GB, free: 184.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/6.241, allocations: 8 kB / 2.83 GB, free: 184.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/6.241, allocations: 8 kB / 2.83 GB, free: 184.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/6.241, allocations: 78.2 kB / 2.831 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/6.241, allocations: 0 / 2.831 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/6.241, allocations: 4 kB / 2.831 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/6.241, allocations: 0 / 2.831 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/6.241, allocations: 43.95 kB / 2.831 GB, free: 184.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/6.242, allocations: 197.4 kB / 2.831 GB, free: 183.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/6.242, allocations: 87.3 kB / 2.831 GB, free: 183.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/6.242, allocations: 178.2 kB / 2.831 GB, free: 183.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/6.242, allocations: 30.56 kB / 2.831 GB, free: 183.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/6.242, allocations: 0 / 2.831 GB, free: 183.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001152/6.243, allocations: 0.5434 MB / 2.832 GB, free: 182.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/6.243, allocations: 51.41 kB / 2.832 GB, free: 182.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/6.243, allocations: 93 kB / 2.832 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/6.243, allocations: 33.64 kB / 2.832 GB, free: 182.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/6.243, allocations: 92.62 kB / 2.832 GB, free: 182.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/6.243, allocations: 67 kB / 2.832 GB, free: 182.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/6.243, allocations: 4 kB / 2.832 GB, free: 182.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.375e-05/6.243, allocations: 314.8 kB / 2.832 GB, free: 182.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/6.244, allocations: 35.97 kB / 2.832 GB, free: 182.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/6.244, allocations: 74.25 kB / 2.832 GB, free: 182.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.661e-05/6.244, allocations: 48 kB / 2.832 GB, free: 182.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/6.244, allocations: 0 / 2.832 GB, free: 182.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001772/6.244, allocations: 157.5 kB / 2.833 GB, free: 181.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/6.244, allocations: 4 kB / 2.833 GB, free: 181.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/6.244, allocations: 3.938 kB / 2.833 GB, free: 181.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/6.244, allocations: 11.94 kB / 2.833 GB, free: 181.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/6.244, allocations: 39.98 kB / 2.833 GB, free: 181.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/6.244, allocations: 0 / 2.833 GB, free: 181.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/6.244, allocations: 4 kB / 2.833 GB, free: 181.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/6.244, allocations: 8 kB / 2.833 GB, free: 181.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.168e-05/6.244, allocations: 135.2 kB / 2.833 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/6.244, allocations: 7.906 kB / 2.833 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/6.244, allocations: 12.44 kB / 2.833 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/6.244, allocations: 4 kB / 2.833 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/6.244, allocations: 3.953 kB / 2.833 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/6.244, allocations: 0 / 2.833 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/6.245, allocations: 197.6 kB / 2.833 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/6.245, allocations: 0 / 2.833 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/6.245, allocations: 43.92 kB / 2.833 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/6.245, allocations: 3.984 kB / 2.833 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/6.245, allocations: 4 kB / 2.833 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/6.245, allocations: 4 kB / 2.833 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/6.245, allocations: 3.953 kB / 2.833 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/6.245, allocations: 196.9 kB / 2.833 GB, free: 181.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/6.245, allocations: 93 kB / 2.833 GB, free: 181 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/6.245, allocations: 4.062 kB / 2.833 GB, free: 181 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/6.245, allocations: 7.984 kB / 2.833 GB, free: 181 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/6.245, allocations: 24.19 kB / 2.833 GB, free: 181 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/6.245, allocations: 7.938 kB / 2.833 GB, free: 181 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.189e-05/6.245, allocations: 75.28 kB / 2.833 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/6.245, allocations: 0 / 2.833 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003377/6.246, allocations: 63.98 kB / 2.833 GB, free: 180.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009577/6.247, allocations: 1.207 MB / 2.835 GB, free: 179.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001861/6.247, allocations: 108 kB / 2.835 GB, free: 179.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/6.247, allocations: 0 / 2.835 GB, free: 179.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/6.247, allocations: 55.91 kB / 2.835 GB, free: 179.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/6.247, allocations: 11.94 kB / 2.835 GB, free: 179.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/6.248, allocations: 1.459 MB / 2.836 GB, free: 177.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/6.248, allocations: 0.705 MB / 2.837 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001246/6.249, allocations: 20.64 kB / 2.837 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/6.249, allocations: 27.42 kB / 2.837 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/6.249, allocations: 0 / 2.837 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/6.271, allocations: 11.15 MB / 2.848 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/6.271, allocations: 178.6 kB / 2.848 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/8.429, allocations: 0 / 2.848 GB, free: 165.9 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)