Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.000915/0.000915, allocations: 99.62 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.000912/0.0009121, 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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.063/1.063, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1921, allocations: 83.41 MB / 0.5974 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001394/0.1936, allocations: 0.9861 MB / 0.5983 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4741/0.6677, allocations: 124.3 MB / 0.7197 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.6678, allocations: 0 / 0.7197 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.6678, allocations: 1.922 kB / 0.7197 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.6679, allocations: 5.75 kB / 0.7197 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.6682, allocations: 79.03 kB / 0.7198 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.6683, allocations: 28.52 kB / 0.7198 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.6683, allocations: 2.766 kB / 0.7198 GB, free: 7.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.6684, allocations: 22.06 kB / 0.7198 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.6684, allocations: 8.781 kB / 0.7198 GB, free: 7.164 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.6685, allocations: 5.109 kB / 0.7198 GB, free: 7.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.6688, allocations: 77.33 kB / 0.7199 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.6688, allocations: 8.266 kB / 0.7199 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.6688, allocations: 34.14 kB / 0.7199 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.6689, allocations: 43.95 kB / 0.72 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.669, allocations: 0 / 0.72 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.669, allocations: 0 / 0.72 GB, free: 7.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.86e-06/0.669, allocations: 1.562 kB / 0.72 GB, free: 7.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003533/0.6693, allocations: 345.7 kB / 0.7203 GB, free: 6.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6694, allocations: 9.031 kB / 0.7203 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.6694, allocations: 36.36 kB / 0.7204 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.6696, allocations: 14.97 kB / 0.7204 GB, free: 6.684 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.701e-05/0.6697, allocations: 163.1 kB / 0.7205 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.6697, allocations: 2 kB / 0.7205 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.6698, allocations: 13 kB / 0.7205 GB, free: 6.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.6699, allocations: 51.72 kB / 0.7206 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.6699, allocations: 0.8906 kB / 0.7206 GB, free: 6.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.6699, allocations: 5.094 kB / 0.7206 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6699, allocations: 2.406 kB / 0.7206 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.67, allocations: 16.81 kB / 0.7206 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.6702, allocations: 171.6 kB / 0.7208 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.6703, allocations: 51.33 kB / 0.7208 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.6703, allocations: 0.9375 kB / 0.7208 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.6703, allocations: 37.42 kB / 0.7209 GB, free: 6.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.6703, allocations: 0 / 0.7209 GB, free: 6.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007098/0.671, allocations: 374.5 kB / 0.7212 GB, free: 5.844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.6711, allocations: 54.67 kB / 0.7213 GB, free: 5.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.428e-05/0.6712, allocations: 96.31 kB / 0.7214 GB, free: 5.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.6712, allocations: 30.89 kB / 0.7214 GB, free: 5.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.6712, allocations: 81.11 kB / 0.7215 GB, free: 5.562 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.6713, allocations: 39.16 kB / 0.7215 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.6713, allocations: 0.9375 kB / 0.7215 GB, free: 5.531 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6714, allocations: 322 kB / 0.7218 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.6714, allocations: 19.02 kB / 0.7218 GB, free: 5.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.257e-05/0.6715, allocations: 38.33 kB / 0.7219 GB, free: 5.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.6715, allocations: 24.02 kB / 0.7219 GB, free: 5.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.6715, allocations: 4 kB / 0.7219 GB, free: 5.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001362/0.6717, allocations: 93.56 kB / 0.722 GB, free: 5.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.6717, allocations: 6.531 kB / 0.722 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6717, allocations: 0 / 0.722 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.6717, allocations: 5.125 kB / 0.722 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.6719, allocations: 20.94 kB / 0.722 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6719, allocations: 1.984 kB / 0.722 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.6719, allocations: 6.188 kB / 0.722 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6719, allocations: 2.031 kB / 0.722 GB, free: 5.105 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 7.958e-05/0.672, allocations: 122.1 kB / 0.7222 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.672, allocations: 3.812 kB / 0.7222 GB, free: 4.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.6721, allocations: 13.94 kB / 0.7222 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6721, allocations: 6.125 kB / 0.7222 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6721, allocations: 0 / 0.7222 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6721, allocations: 5 kB / 0.7222 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.6722, allocations: 171.2 kB / 0.7223 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6722, allocations: 0.5625 kB / 0.7223 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.6724, allocations: 20.41 kB / 0.7224 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6724, allocations: 2.297 kB / 0.7224 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.6724, allocations: 9.312 kB / 0.7224 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6724, allocations: 2.062 kB / 0.7224 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6724, allocations: 0.6094 kB / 0.7224 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.6726, allocations: 138.3 kB / 0.7225 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.6727, allocations: 89.86 kB / 0.7226 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.6727, allocations: 1.641 kB / 0.7226 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.6728, allocations: 3.719 kB / 0.7226 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.6729, allocations: 13.72 kB / 0.7226 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.6729, allocations: 7.734 kB / 0.7226 GB, free: 4.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.6729, allocations: 76.34 kB / 0.7227 GB, free: 4.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6729, allocations: 0 / 0.7227 GB, free: 4.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001967/0.6731, allocations: 16.58 kB / 0.7227 GB, free: 4.469 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0004486/0.6736, allocations: 0.6673 MB / 0.7234 GB, free: 3.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.6737, allocations: 55.28 kB / 0.7234 GB, free: 3.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6737, allocations: 1.812 kB / 0.7234 GB, free: 3.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.622e-05/0.6738, allocations: 27.94 kB / 0.7234 GB, free: 3.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.674, allocations: 8.969 kB / 0.7234 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.6749, allocations: 0.8145 MB / 0.7242 GB, free: 3.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.6752, allocations: 0.6889 MB / 0.7249 GB, free: 2.449 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.122e-05/0.6753, allocations: 14.22 kB / 0.7249 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.6753, allocations: 21.33 kB / 0.725 GB, free: 2.426 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.6753, allocations: 3.938 kB / 0.725 GB, free: 2.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.687, allocations: 1.423 MB / 0.7263 GB, free: 2.309 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.6872, allocations: 208.7 kB / 0.7265 GB, free: 2.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.263, allocations: 0 / 0.7265 GB, free: 2.066 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: