Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001159/0.00116, allocations: 178.7 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001046/0.001046, allocations: 90.5 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.147e-05/4.148e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.356/6.64, allocations: 2.09 GB / 3.069 GB, free: 108.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/6.64, allocations: 77.3 kB / 3.07 GB, free: 108.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05742/6.698, allocations: 29.98 MB / 3.099 GB, free: 83.33 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/6.698, allocations: 0 / 3.099 GB, free: 83.33 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.835e-06/6.698, allocations: 4 kB / 3.099 GB, free: 83.32 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.0003816/6.698, allocations: 383.3 kB / 3.099 GB, free: 82.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/6.698, allocations: 16.02 kB / 3.099 GB, free: 82.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/6.698, allocations: 34.44 kB / 3.099 GB, free: 82.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/6.699, allocations: 38.25 kB / 3.099 GB, free: 82.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.999e-05/6.699, allocations: 167 kB / 3.099 GB, free: 82.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/6.699, allocations: 7.625 kB / 3.099 GB, free: 82.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/6.699, allocations: 12.52 kB / 3.099 GB, free: 82.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/6.699, allocations: 72.55 kB / 3.1 GB, free: 82.54 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/6.699, allocations: 7.922 kB / 3.1 GB, free: 82.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/6.699, allocations: 4 kB / 3.1 GB, free: 82.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/6.699, allocations: 4 kB / 3.1 GB, free: 82.53 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/6.699, allocations: 39.31 kB / 3.1 GB, free: 82.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/6.699, allocations: 184.8 kB / 3.1 GB, free: 82.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/6.7, allocations: 77.61 kB / 3.1 GB, free: 82.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/6.7, allocations: 36.88 kB / 3.1 GB, free: 82.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/6.7, allocations: 181.8 kB / 3.1 GB, free: 81.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/6.7, allocations: 30.56 kB / 3.1 GB, free: 81.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.103e-06/6.7, allocations: 0 / 3.1 GB, free: 81.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001103/6.701, allocations: 0.5226 MB / 3.101 GB, free: 81.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/6.701, allocations: 55.36 kB / 3.101 GB, free: 81.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/6.701, allocations: 89 kB / 3.101 GB, free: 81.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/6.701, allocations: 29.27 kB / 3.101 GB, free: 81.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/6.701, allocations: 84.33 kB / 3.101 GB, free: 81.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/6.701, allocations: 62.52 kB / 3.101 GB, free: 81.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/6.701, allocations: 12 kB / 3.101 GB, free: 81.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.58e-05/6.701, allocations: 318.4 kB / 3.101 GB, free: 80.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/6.701, allocations: 31.56 kB / 3.101 GB, free: 80.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/6.701, allocations: 71.56 kB / 3.101 GB, free: 80.67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.009e-05/6.701, allocations: 50.81 kB / 3.101 GB, free: 80.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/6.701, allocations: 0 / 3.101 GB, free: 80.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00019/6.702, allocations: 152.4 kB / 3.102 GB, free: 80.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/6.702, allocations: 11.94 kB / 3.102 GB, free: 80.49 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/6.702, allocations: 4 kB / 3.102 GB, free: 80.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/6.702, allocations: 4 kB / 3.102 GB, free: 80.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/6.702, allocations: 43.73 kB / 3.102 GB, free: 80.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/6.702, allocations: 0 / 3.102 GB, free: 80.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/6.702, allocations: 11.7 kB / 3.102 GB, free: 80.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/6.702, allocations: 4 kB / 3.102 GB, free: 80.43 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 5.895e-05/6.702, allocations: 115.6 kB / 3.102 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/6.702, allocations: 7.906 kB / 3.102 GB, free: 80.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/6.702, allocations: 23.2 kB / 3.102 GB, free: 80.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/6.702, allocations: 4 kB / 3.102 GB, free: 80.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/6.702, allocations: 0 / 3.102 GB, free: 80.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/6.702, allocations: 0 / 3.102 GB, free: 80.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/6.702, allocations: 195.7 kB / 3.102 GB, free: 80.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/6.702, allocations: 0 / 3.102 GB, free: 80.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/6.702, allocations: 39.36 kB / 3.102 GB, free: 80.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/6.703, allocations: 4 kB / 3.102 GB, free: 80.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/6.703, allocations: 0 / 3.102 GB, free: 80.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/6.703, allocations: 0 / 3.102 GB, free: 80.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/6.703, allocations: 0 / 3.102 GB, free: 80.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/6.703, allocations: 213.7 kB / 3.102 GB, free: 79.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/6.703, allocations: 93 kB / 3.102 GB, free: 79.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/6.703, allocations: 3.375 kB / 3.102 GB, free: 79.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/6.703, allocations: 7.984 kB / 3.102 GB, free: 79.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/6.703, allocations: 11.92 kB / 3.102 GB, free: 79.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/6.703, allocations: 8 kB / 3.102 GB, free: 79.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.159e-05/6.703, allocations: 83.16 kB / 3.102 GB, free: 79.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.703, allocations: 0 / 3.102 GB, free: 79.63 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003345/6.703, allocations: 65.36 kB / 3.102 GB, free: 79.59 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.0009741/6.704, allocations: 1.189 MB / 3.104 GB, free: 78.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001764/6.705, allocations: 110.6 kB / 3.104 GB, free: 78.35 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/6.705, allocations: 4 kB / 3.104 GB, free: 78.35 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.941e-05/6.705, allocations: 54.48 kB / 3.104 GB, free: 78.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/6.705, allocations: 9.25 kB / 3.104 GB, free: 78.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/6.706, allocations: 0.5128 MB / 3.104 GB, free: 77.78 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/6.706, allocations: 0.7011 MB / 3.105 GB, free: 77.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000134/6.706, allocations: 28.75 kB / 3.105 GB, free: 77.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/6.706, allocations: 22.19 kB / 3.105 GB, free: 77.01 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/6.706, allocations: 0 / 3.105 GB, free: 77.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/6.732, allocations: 12.83 MB / 3.118 GB, free: 64.27 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/6.732, allocations: 137.8 kB / 3.118 GB, free: 64.05 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.233/8.965, allocations: 0 / 3.118 GB, free: 64.05 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)