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/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009658/0.0009658, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.038/1.038, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004239, allocations: 8 kB / 0.5159 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2082, allocations: 83.4 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001341/0.2096, allocations: 1.033 MB / 0.5983 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4604/0.6701, allocations: 125.2 MB / 0.7206 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.6702, allocations: 0 / 0.7206 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.064e-05/0.6702, allocations: 2.156 kB / 0.7206 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.6703, allocations: 14.19 kB / 0.7206 GB, free: 6.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008023/0.6711, allocations: 241.6 kB / 0.7208 GB, free: 6.438 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.6712, allocations: 40.25 kB / 0.7209 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.6713, allocations: 3.969 kB / 0.7209 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.6713, allocations: 25.23 kB / 0.7209 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.6714, allocations: 33.55 kB / 0.7209 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.6714, allocations: 2.344 kB / 0.7209 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006959/0.6721, allocations: 285.1 kB / 0.7212 GB, free: 6.305 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.6722, allocations: 12.78 kB / 0.7212 GB, free: 6.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.6722, allocations: 32.17 kB / 0.7212 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.6724, allocations: 104 kB / 0.7213 GB, free: 6.242 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6724, allocations: 0 / 0.7213 GB, free: 6.242 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6724, allocations: 4.969 kB / 0.7213 GB, free: 6.238 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.6725, allocations: 0 / 0.7213 GB, free: 6.238 MB / 0.545 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.0003834/0.6728, allocations: 376.3 kB / 0.7217 GB, free: 5.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.6729, allocations: 14.94 kB / 0.7217 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.6729, allocations: 37.91 kB / 0.7217 GB, free: 5.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/0.6733, allocations: 34.73 kB / 0.7218 GB, free: 5.816 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.6735, allocations: 164.7 kB / 0.7219 GB, free: 5.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.6735, allocations: 6.625 kB / 0.7219 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.6735, allocations: 9.906 kB / 0.722 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.6737, allocations: 78.55 kB / 0.722 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6737, allocations: 1.25 kB / 0.722 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.6737, allocations: 9.859 kB / 0.722 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.6738, allocations: 6.562 kB / 0.722 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.6739, allocations: 44.11 kB / 0.7221 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.6741, allocations: 187.2 kB / 0.7223 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.6743, allocations: 89.62 kB / 0.7224 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.6744, allocations: 6.938 kB / 0.7224 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.6744, allocations: 44.27 kB / 0.7224 GB, free: 5.246 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.6744, allocations: 0 / 0.7224 GB, free: 5.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0013/0.6757, allocations: 0.5326 MB / 0.7229 GB, free: 4.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.6757, allocations: 54.25 kB / 0.723 GB, free: 4.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.541e-05/0.6758, allocations: 102.5 kB / 0.7231 GB, free: 4.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6758, allocations: 27.05 kB / 0.7231 GB, free: 4.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.6759, allocations: 86.73 kB / 0.7232 GB, free: 4.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.6759, allocations: 72.06 kB / 0.7232 GB, free: 4.559 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.676, allocations: 4 kB / 0.7233 GB, free: 4.555 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6761, allocations: 324.5 kB / 0.7236 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.6762, allocations: 33.66 kB / 0.7236 GB, free: 4.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-05/0.6763, allocations: 76.03 kB / 0.7237 GB, free: 4.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.441e-05/0.6764, allocations: 43.97 kB / 0.7237 GB, free: 4.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6764, allocations: 0 / 0.7237 GB, free: 4.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002226/0.6766, allocations: 153.7 kB / 0.7239 GB, free: 4.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6766, allocations: 5.844 kB / 0.7239 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6766, allocations: 1.312 kB / 0.7239 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6766, allocations: 2.812 kB / 0.7239 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.6768, allocations: 40.09 kB / 0.7239 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.6768, allocations: 2.344 kB / 0.7239 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.6769, allocations: 9.031 kB / 0.7239 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.6769, allocations: 6.25 kB / 0.7239 GB, free: 4.07 MB / 0.545 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 0.0001033/0.677, allocations: 128.2 kB / 0.724 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.677, allocations: 9.969 kB / 0.7241 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.6771, allocations: 17.64 kB / 0.7241 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6771, allocations: 2.656 kB / 0.7241 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6771, allocations: 0 / 0.7241 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6771, allocations: 1.359 kB / 0.7241 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.6773, allocations: 201.9 kB / 0.7243 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6773, allocations: 0.5625 kB / 0.7243 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.6775, allocations: 43.22 kB / 0.7243 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6775, allocations: 1.094 kB / 0.7243 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.6775, allocations: 7.312 kB / 0.7243 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6775, allocations: 2.938 kB / 0.7243 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6776, allocations: 0 / 0.7243 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.6779, allocations: 206.8 kB / 0.7245 GB, free: 3.582 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.678, allocations: 95.88 kB / 0.7246 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.678, allocations: 2.156 kB / 0.7246 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6781, allocations: 10.17 kB / 0.7246 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.6782, allocations: 8.672 kB / 0.7246 GB, free: 3.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6782, allocations: 8.781 kB / 0.7246 GB, free: 3.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.19e-05/0.6782, allocations: 78.56 kB / 0.7247 GB, free: 3.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6782, allocations: 0 / 0.7247 GB, free: 3.398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002189/0.6784, allocations: 24.72 kB / 0.7247 GB, free: 3.395 MB / 0.545 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.0006102/0.6791, allocations: 0.7568 MB / 0.7255 GB, free: 2.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.6793, allocations: 107 kB / 0.7256 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6793, allocations: 0 / 0.7256 GB, free: 2.707 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.6794, allocations: 55.36 kB / 0.7256 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.6796, allocations: 20.64 kB / 0.7256 GB, free: 2.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.6812, allocations: 1.452 MB / 0.7271 GB, free: 1.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.6815, allocations: 0.7074 MB / 0.7278 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.6816, allocations: 22.25 kB / 0.7278 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.6817, allocations: 25.55 kB / 0.7278 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.6817, allocations: 0 / 0.7278 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.6936, allocations: 2.124 MB / 0.7299 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.6938, allocations: 183.6 kB / 0.73 GB, free: 368 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.46, allocations: 0 / 0.73 GB, free: 368 kB / 0.545 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) Environment - environmentSimulation: