Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8806/0.8806, allocations: 143.4 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001415, allocations: 181 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 447.7 MB, free: 4.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 91.55 kB / 0.5187 GB, free: 1.207 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 266.8 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004307, allocations: 10.88 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1976, allocations: 82.8 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.725/3.923, allocations: 1.705 GB / 2.479 GB, free: 96.99 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/3.923, allocations: 75.95 kB / 2.479 GB, free: 96.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05506/3.978, allocations: 29.76 MB / 2.508 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/3.978, allocations: 0 / 2.508 GB, free: 66.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.33e-06/3.978, allocations: 4 kB / 2.508 GB, free: 66.94 MB / 0.7136 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.0003393/3.979, allocations: 384 kB / 2.508 GB, free: 66.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/3.979, allocations: 12.03 kB / 2.508 GB, free: 66.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/3.979, allocations: 34.56 kB / 2.508 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/3.979, allocations: 47.75 kB / 2.508 GB, free: 66.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.062e-05/3.979, allocations: 171 kB / 2.508 GB, free: 66.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/3.979, allocations: 8 kB / 2.508 GB, free: 66.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/3.979, allocations: 8 kB / 2.508 GB, free: 66.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/3.979, allocations: 69.66 kB / 2.508 GB, free: 66.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/3.979, allocations: 0 / 2.508 GB, free: 66.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/3.979, allocations: 4 kB / 2.508 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/3.979, allocations: 3.938 kB / 2.508 GB, free: 66.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/3.979, allocations: 44.5 kB / 2.508 GB, free: 66.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/3.98, allocations: 189.5 kB / 2.509 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/3.98, allocations: 94.61 kB / 2.509 GB, free: 65.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/3.98, allocations: 174.2 kB / 2.509 GB, free: 65.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/3.98, allocations: 30.56 kB / 2.509 GB, free: 65.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/3.98, allocations: 4 kB / 2.509 GB, free: 65.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.001109/3.981, allocations: 0.5515 MB / 2.509 GB, free: 64.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/3.981, allocations: 55.41 kB / 2.509 GB, free: 64.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/3.981, allocations: 89 kB / 2.51 GB, free: 64.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/3.981, allocations: 33.7 kB / 2.51 GB, free: 64.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.765e-05/3.981, allocations: 80.52 kB / 2.51 GB, free: 64.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/3.981, allocations: 71 kB / 2.51 GB, free: 64.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/3.981, allocations: 0 / 2.51 GB, free: 64.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/3.981, allocations: 322.8 kB / 2.51 GB, free: 64.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/3.981, allocations: 39.97 kB / 2.51 GB, free: 64.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/3.981, allocations: 63.53 kB / 2.51 GB, free: 64.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.439e-05/3.982, allocations: 44 kB / 2.51 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/3.982, allocations: 0 / 2.51 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001795/3.982, allocations: 165.5 kB / 2.51 GB, free: 63.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/3.982, allocations: 5.562 kB / 2.51 GB, free: 63.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/3.982, allocations: 4 kB / 2.51 GB, free: 63.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/3.982, allocations: 0 / 2.51 GB, free: 63.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/3.982, allocations: 35.98 kB / 2.51 GB, free: 63.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/3.982, allocations: 3.938 kB / 2.51 GB, free: 63.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/3.982, allocations: 8 kB / 2.51 GB, free: 63.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/3.982, allocations: 11.94 kB / 2.51 GB, free: 63.81 MB / 0.7136 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 6.783e-05/3.982, allocations: 126.3 kB / 2.511 GB, free: 63.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/3.982, allocations: 11.91 kB / 2.511 GB, free: 63.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/3.982, allocations: 16.44 kB / 2.511 GB, free: 63.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/3.982, allocations: 0 / 2.511 GB, free: 63.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/3.982, allocations: 0 / 2.511 GB, free: 63.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/3.982, allocations: 4 kB / 2.511 GB, free: 63.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/3.982, allocations: 193.6 kB / 2.511 GB, free: 63.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/3.982, allocations: 0 / 2.511 GB, free: 63.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/3.983, allocations: 47.86 kB / 2.511 GB, free: 63.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/3.983, allocations: 3.984 kB / 2.511 GB, free: 63.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/3.983, allocations: 8 kB / 2.511 GB, free: 63.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/3.983, allocations: 0 / 2.511 GB, free: 63.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/3.983, allocations: 0 / 2.511 GB, free: 63.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/3.983, allocations: 204.8 kB / 2.511 GB, free: 63.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/3.983, allocations: 89 kB / 2.511 GB, free: 63.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/3.983, allocations: 8.062 kB / 2.511 GB, free: 63.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/3.983, allocations: 15.98 kB / 2.511 GB, free: 63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/3.983, allocations: 7.984 kB / 2.511 GB, free: 63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/3.983, allocations: 8 kB / 2.511 GB, free: 62.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.763e-05/3.983, allocations: 75.28 kB / 2.511 GB, free: 62.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/3.983, allocations: 0 / 2.511 GB, free: 62.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003221/3.983, allocations: 63.98 kB / 2.511 GB, free: 62.85 MB / 0.7136 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.0008556/3.984, allocations: 1.2 MB / 2.512 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001618/3.984, allocations: 99.89 kB / 2.513 GB, free: 61.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/3.984, allocations: 0 / 2.513 GB, free: 61.54 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/3.985, allocations: 57.62 kB / 2.513 GB, free: 61.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/3.985, allocations: 16.98 kB / 2.513 GB, free: 61.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/3.986, allocations: 1.468 MB / 2.514 GB, free: 59.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/3.986, allocations: 0.7011 MB / 2.515 GB, free: 59.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001264/3.986, allocations: 24.62 kB / 2.515 GB, free: 59.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/3.986, allocations: 27.42 kB / 2.515 GB, free: 59.16 MB / 0.7136 GB Notification: Performance of SimCode: time 4.2e-07/3.986, allocations: 0 / 2.515 GB, free: 59.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/4.01, allocations: 11.15 MB / 2.526 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/4.01, allocations: 184.3 kB / 2.526 GB, free: 47.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/6.021, allocations: 0 / 2.526 GB, free: 47.88 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)