Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 181.6 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 96.22 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 13.02 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2714, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/5.664, allocations: 2.208 GB / 3.108 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.665, allocations: 78.55 kB / 3.108 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7784/6.443, allocations: 29.66 MB / 3.137 GB, free: 330.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.457e-06/6.443, allocations: 0 / 3.137 GB, free: 330.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.255e-05/6.443, allocations: 8.5 kB / 3.137 GB, free: 330.1 MB / 0.8855 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.000494/6.444, allocations: 392 kB / 3.138 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/6.444, allocations: 9.094 kB / 3.138 GB, free: 329.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/6.444, allocations: 31.94 kB / 3.138 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/6.444, allocations: 40.39 kB / 3.138 GB, free: 329.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.858e-05/6.444, allocations: 167.2 kB / 3.138 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/6.444, allocations: 2.594 kB / 3.138 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/6.444, allocations: 10.03 kB / 3.138 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/6.445, allocations: 76.81 kB / 3.138 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/6.445, allocations: 2.25 kB / 3.138 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/6.445, allocations: 5.25 kB / 3.138 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/6.445, allocations: 1.312 kB / 3.138 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/6.445, allocations: 36.52 kB / 3.138 GB, free: 329.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/6.445, allocations: 185.8 kB / 3.138 GB, free: 329.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/6.445, allocations: 101.9 kB / 3.138 GB, free: 329.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/6.445, allocations: 179.6 kB / 3.138 GB, free: 329 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/6.445, allocations: 33.16 kB / 3.138 GB, free: 328.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/6.445, allocations: 0 / 3.138 GB, free: 328.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001353/6.447, allocations: 0.5472 MB / 3.139 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/6.447, allocations: 57.88 kB / 3.139 GB, free: 328.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/6.447, allocations: 92 kB / 3.139 GB, free: 328.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/6.447, allocations: 30.95 kB / 3.139 GB, free: 328.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/6.447, allocations: 80.52 kB / 3.139 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/6.447, allocations: 76.39 kB / 3.139 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/6.447, allocations: 1.312 kB / 3.139 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/6.447, allocations: 319.5 kB / 3.14 GB, free: 328 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/6.447, allocations: 37.78 kB / 3.14 GB, free: 328 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/6.447, allocations: 65.69 kB / 3.14 GB, free: 328 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/6.447, allocations: 56.33 kB / 3.14 GB, free: 328 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/6.447, allocations: 0 / 3.14 GB, free: 328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002312/6.448, allocations: 153.8 kB / 3.14 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/6.448, allocations: 5.156 kB / 3.14 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/6.448, allocations: 0.8438 kB / 3.14 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/6.448, allocations: 3.281 kB / 3.14 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/6.448, allocations: 42.48 kB / 3.14 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/6.448, allocations: 4.5 kB / 3.14 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/6.448, allocations: 1.344 kB / 3.14 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/6.448, allocations: 9.938 kB / 3.14 GB, free: 327.9 MB / 0.8855 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 9.426e-05/6.448, allocations: 125.7 kB / 3.14 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/6.448, allocations: 13 kB / 3.14 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/6.448, allocations: 15.75 kB / 3.14 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/6.448, allocations: 2.438 kB / 3.14 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/6.448, allocations: 0 / 3.14 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/6.448, allocations: 8.484 kB / 3.14 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/6.448, allocations: 193.2 kB / 3.14 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/6.448, allocations: 1.219 kB / 3.14 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/6.449, allocations: 37.02 kB / 3.14 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/6.449, allocations: 1.562 kB / 3.14 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/6.449, allocations: 5.031 kB / 3.14 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/6.449, allocations: 5.062 kB / 3.14 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/6.449, allocations: 3.938 kB / 3.14 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/6.449, allocations: 202.5 kB / 3.14 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/6.449, allocations: 96.81 kB / 3.141 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/6.449, allocations: 5.5 kB / 3.141 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/6.449, allocations: 7.406 kB / 3.141 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/6.449, allocations: 12.55 kB / 3.141 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/6.449, allocations: 8.281 kB / 3.141 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.782e-05/6.449, allocations: 81.94 kB / 3.141 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.41e-07/6.449, allocations: 0 / 3.141 GB, free: 327.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000403/6.45, allocations: 60.83 kB / 3.141 GB, free: 327.4 MB / 0.8855 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.001377/6.451, allocations: 1.206 MB / 3.142 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002341/6.451, allocations: 106.3 kB / 3.142 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/6.451, allocations: 0 / 3.142 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/6.452, allocations: 55.3 kB / 3.142 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/6.452, allocations: 18.8 kB / 3.142 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/6.453, allocations: 1.448 MB / 3.143 GB, free: 325.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/6.454, allocations: 0.71 MB / 3.144 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001502/6.454, allocations: 29.83 kB / 3.144 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/6.454, allocations: 22.91 kB / 3.144 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/6.454, allocations: 3.938 kB / 3.144 GB, free: 324.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/6.489, allocations: 11.12 MB / 3.155 GB, free: 323.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/6.489, allocations: 179.5 kB / 3.155 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/8.619, allocations: 2.672 kB / 3.155 GB, free: 323.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)