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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.00133/0.00133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 191 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8501/0.8501, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 71.88 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1246, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002092/0.1267, allocations: 1.271 MB / 0.5956 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.336/0.4627, allocations: 147 MB / 0.7392 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.4628, allocations: 3.938 kB / 0.7392 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.4628, allocations: 3.938 kB / 0.7392 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.4629, allocations: 3.625 kB / 0.7392 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.4634, allocations: 98.92 kB / 0.7393 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.486e-05/0.4634, allocations: 36.05 kB / 0.7393 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.4635, allocations: 5.328 kB / 0.7393 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.4635, allocations: 12.02 kB / 0.7393 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.4636, allocations: 17.02 kB / 0.7394 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.4636, allocations: 3.25 kB / 0.7394 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.4639, allocations: 79.7 kB / 0.7394 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.4639, allocations: 5.312 kB / 0.7394 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.4639, allocations: 16.61 kB / 0.7395 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.4641, allocations: 71.98 kB / 0.7395 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4641, allocations: 0 / 0.7395 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.61e-07/0.4641, allocations: 2.906 kB / 0.7395 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.4641, allocations: 0 / 0.7395 GB, free: 5.309 MB / 0.5606 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.0003557/0.4645, allocations: 352 kB / 0.7399 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.4645, allocations: 8.969 kB / 0.7399 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.4646, allocations: 40.09 kB / 0.7399 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.4647, allocations: 13.59 kB / 0.7399 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.377e-05/0.4648, allocations: 164.4 kB / 0.7401 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.4649, allocations: 10.06 kB / 0.7401 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4649, allocations: 5.609 kB / 0.7401 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.465, allocations: 51.7 kB / 0.7401 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.465, allocations: 0 / 0.7401 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.465, allocations: 1.25 kB / 0.7401 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.465, allocations: 1.156 kB / 0.7402 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.143e-05/0.4651, allocations: 20.53 kB / 0.7402 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.4653, allocations: 167.3 kB / 0.7403 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.4654, allocations: 52.66 kB / 0.7404 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.4654, allocations: 17.78 kB / 0.7404 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.4654, allocations: 1.375 kB / 0.7404 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.4654, allocations: 31.94 kB / 0.7404 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.4654, allocations: 1.125 kB / 0.7404 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006673/0.4661, allocations: 374.4 kB / 0.7408 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.4661, allocations: 60.3 kB / 0.7408 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.4662, allocations: 91.14 kB / 0.7409 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.4662, allocations: 30.86 kB / 0.741 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.4663, allocations: 84.14 kB / 0.741 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.4663, allocations: 37.12 kB / 0.7411 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.4664, allocations: 30.88 kB / 0.7411 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.4665, allocations: 323.5 kB / 0.7414 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.4665, allocations: 21.39 kB / 0.7414 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.561e-05/0.4665, allocations: 31.11 kB / 0.7415 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.4666, allocations: 66.41 kB / 0.7415 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4666, allocations: 1.875 kB / 0.7415 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001272/0.4668, allocations: 90.47 kB / 0.7416 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4668, allocations: 4.344 kB / 0.7416 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4668, allocations: 1.25 kB / 0.7416 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.4668, allocations: 4.969 kB / 0.7416 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4669, allocations: 24.33 kB / 0.7416 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4669, allocations: 1.609 kB / 0.7417 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.467, allocations: 5.344 kB / 0.7417 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.467, allocations: 2.844 kB / 0.7417 GB, free: 3.262 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.4671, allocations: 118.7 kB / 0.7418 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.4671, allocations: 6.906 kB / 0.7418 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.4671, allocations: 13.38 kB / 0.7418 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4671, allocations: 5.406 kB / 0.7418 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4672, allocations: 0 / 0.7418 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4672, allocations: 0 / 0.7418 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.4673, allocations: 177.8 kB / 0.742 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4673, allocations: 0 / 0.742 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.4674, allocations: 26.75 kB / 0.742 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4674, allocations: 1.406 kB / 0.742 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4674, allocations: 0 / 0.742 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4674, allocations: 3.156 kB / 0.742 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4674, allocations: 3.984 kB / 0.742 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.4676, allocations: 137.7 kB / 0.7421 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.4677, allocations: 88.48 kB / 0.7422 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.4677, allocations: 5.438 kB / 0.7422 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.4678, allocations: 1.188 kB / 0.7422 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.4678, allocations: 5.75 kB / 0.7422 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.4679, allocations: 6.781 kB / 0.7422 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.01e-05/0.4679, allocations: 82.33 kB / 0.7423 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4679, allocations: 96 / 0.7423 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001909/0.4681, allocations: 24.19 kB / 0.7423 GB, free: 2.621 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003904/0.4685, allocations: 0.6591 MB / 0.743 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.4686, allocations: 63.36 kB / 0.743 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4686, allocations: 0.875 kB / 0.743 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.4687, allocations: 33.58 kB / 0.7431 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.4689, allocations: 9.266 kB / 0.7431 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4702, allocations: 1.443 MB / 0.7445 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.4704, allocations: 0.687 MB / 0.7452 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.332e-05/0.4705, allocations: 9.578 kB / 0.7452 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.4705, allocations: 18.55 kB / 0.7452 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.4705, allocations: 0 / 0.7452 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4165/0.887, allocations: 1.661 MB / 0.7468 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.69, allocations: 15.64 kB / 0.7468 GB, free: 15.33 MB / 0.5762 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/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)