Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.443/2.443, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 184.9 kB / 360.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00119/0.001188, allocations: 83.48 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.802e-05, allocations: 0 / 0.8508 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8496/0.8497, allocations: 115.2 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.193/7.043, allocations: 2.088 GB / 3.051 GB, free: 32.04 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/7.043, allocations: 70.95 kB / 3.051 GB, free: 32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1022/7.145, allocations: 29.44 MB / 3.08 GB, free: 4.977 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.954e-06/7.145, allocations: 4 kB / 3.08 GB, free: 4.973 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.535e-06/7.145, allocations: 0 / 3.08 GB, free: 4.973 MB / 0.948 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.0004586/7.146, allocations: 382.3 kB / 3.08 GB, free: 4.555 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/7.146, allocations: 8.031 kB / 3.08 GB, free: 4.547 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004948/7.146, allocations: 35.91 kB / 3.08 GB, free: 4.512 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/7.147, allocations: 171 kB / 3.081 GB, free: 4.305 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/7.147, allocations: 0 / 3.081 GB, free: 4.305 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/7.147, allocations: 11.91 kB / 3.081 GB, free: 4.293 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001489/7.147, allocations: 39.91 kB / 3.081 GB, free: 4.254 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/7.147, allocations: 71.58 kB / 3.081 GB, free: 4.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/7.147, allocations: 0 / 3.081 GB, free: 4.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/7.147, allocations: 3.953 kB / 3.081 GB, free: 4.176 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/7.147, allocations: 4 kB / 3.081 GB, free: 4.172 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/7.147, allocations: 154.2 kB / 3.081 GB, free: 3.984 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/7.147, allocations: 78.67 kB / 3.081 GB, free: 3.898 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.815e-05/7.148, allocations: 20.86 kB / 3.081 GB, free: 3.875 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/7.148, allocations: 182.2 kB / 3.081 GB, free: 3.66 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/7.148, allocations: 34.5 kB / 3.081 GB, free: 3.617 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/7.148, allocations: 0 / 3.081 GB, free: 3.617 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.00168/7.15, allocations: 494.9 kB / 3.082 GB, free: 3.086 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/7.15, allocations: 51.41 kB / 3.082 GB, free: 3.023 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/7.15, allocations: 89 kB / 3.082 GB, free: 2.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/7.15, allocations: 25.7 kB / 3.082 GB, free: 2.898 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/7.15, allocations: 84.64 kB / 3.082 GB, free: 2.809 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/7.15, allocations: 71 kB / 3.082 GB, free: 2.738 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/7.15, allocations: 1.875 kB / 3.082 GB, free: 2.738 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.817e-05/7.15, allocations: 326.8 kB / 3.082 GB, free: 2.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/7.15, allocations: 31.98 kB / 3.082 GB, free: 2.379 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/7.15, allocations: 61.25 kB / 3.082 GB, free: 2.309 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/7.15, allocations: 49.66 kB / 3.082 GB, free: 2.266 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/7.15, allocations: 0 / 3.082 GB, free: 2.266 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002782/7.151, allocations: 133.5 kB / 3.083 GB, free: 2.129 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/7.151, allocations: 6.188 kB / 3.083 GB, free: 2.125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/7.151, allocations: 4 kB / 3.083 GB, free: 2.121 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/7.151, allocations: 0 / 3.083 GB, free: 2.121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/7.151, allocations: 43.92 kB / 3.083 GB, free: 2.078 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/7.151, allocations: 4 kB / 3.083 GB, free: 2.074 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/7.151, allocations: 0 / 3.083 GB, free: 2.074 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/7.151, allocations: 4 kB / 3.083 GB, free: 2.07 MB / 0.948 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 () * 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.286e-05/7.151, allocations: 112.9 kB / 3.083 GB, free: 1.953 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002406/7.151, allocations: 119.7 kB / 3.083 GB, free: 1.832 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/7.151, allocations: 11.89 kB / 3.083 GB, free: 1.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/7.152, allocations: 12.53 kB / 3.083 GB, free: 1.809 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/7.152, allocations: 0 / 3.083 GB, free: 1.809 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/7.152, allocations: 7.938 kB / 3.083 GB, free: 1.801 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/7.152, allocations: 2.906 kB / 3.083 GB, free: 1.801 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/7.152, allocations: 166.1 kB / 3.083 GB, free: 1.602 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/7.152, allocations: 0 / 3.083 GB, free: 1.602 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003826/7.152, allocations: 37.98 kB / 3.083 GB, free: 1.566 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/7.152, allocations: 8 kB / 3.083 GB, free: 1.559 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/7.152, allocations: 0 / 3.083 GB, free: 1.559 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/7.152, allocations: 3.938 kB / 3.083 GB, free: 1.555 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7.152, allocations: 0 / 3.083 GB, free: 1.555 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/7.153, allocations: 189.7 kB / 3.083 GB, free: 1.352 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/7.153, allocations: 93.06 kB / 3.083 GB, free: 1.242 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/7.153, allocations: 0 / 3.083 GB, free: 1.242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/7.153, allocations: 4 kB / 3.083 GB, free: 1.238 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/7.153, allocations: 11.98 kB / 3.083 GB, free: 1.227 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/7.153, allocations: 4 kB / 3.083 GB, free: 1.223 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.675e-05/7.153, allocations: 87.27 kB / 3.083 GB, free: 1.137 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.2e-07/7.153, allocations: 0 / 3.083 GB, free: 1.137 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004087/7.153, allocations: 51.94 kB / 3.084 GB, free: 1.086 MB / 0.948 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 () * 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.6303/7.784, allocations: 1.261 MB / 3.085 GB, free: 335.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006518/7.785, allocations: 92.84 kB / 3.085 GB, free: 335.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/7.785, allocations: 0.8125 kB / 3.085 GB, free: 335.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/7.785, allocations: 51.58 kB / 3.085 GB, free: 335.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/7.785, allocations: 8.062 kB / 3.085 GB, free: 335.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/7.786, allocations: 0.4919 MB / 3.085 GB, free: 335.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/7.787, allocations: 0.7022 MB / 3.086 GB, free: 335 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002385/7.787, allocations: 27.34 kB / 3.086 GB, free: 335 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/7.787, allocations: 24.5 kB / 3.086 GB, free: 335 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/7.787, allocations: 2.156 kB / 3.086 GB, free: 335 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05185/7.839, allocations: 6.152 MB / 3.092 GB, free: 334.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/7.839, allocations: 136 kB / 3.092 GB, free: 334.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/10.44, allocations: 0 / 3.092 GB, free: 334.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)