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.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.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.001723/0.001723, allocations: 108 kB / 15.61 MB, free: 152 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.001927/0.001927, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.8737/0.8737, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1256, allocations: 82.04 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002003/0.1277, allocations: 1.334 MB / 0.5957 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3235/0.4511, allocations: 148.1 MB / 0.7403 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.4512, allocations: 1.188 kB / 0.7403 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.4513, allocations: 5.906 kB / 0.7403 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.4514, allocations: 15.75 kB / 0.7403 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008843/0.4523, allocations: 332.7 kB / 0.7406 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.962e-05/0.4524, allocations: 62.52 kB / 0.7407 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.445e-05/0.4524, allocations: 3.828 kB / 0.7407 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.4525, allocations: 30.78 kB / 0.7407 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.091e-05/0.4525, allocations: 33.52 kB / 0.7408 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.4526, allocations: 2.875 kB / 0.7408 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.4533, allocations: 409.6 kB / 0.7412 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.4534, allocations: 15.58 kB / 0.7412 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.4534, allocations: 29.97 kB / 0.7412 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.4537, allocations: 168.2 kB / 0.7414 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4537, allocations: 0 / 0.7414 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4537, allocations: 0 / 0.7414 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.4538, allocations: 0 / 0.7414 GB, free: 4.188 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003899/0.4541, allocations: 388 kB / 0.7417 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.4542, allocations: 10.17 kB / 0.7417 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.4542, allocations: 38.2 kB / 0.7418 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003649/0.4546, allocations: 38.47 kB / 0.7418 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.517e-05/0.4547, allocations: 171.1 kB / 0.742 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.4547, allocations: 6.531 kB / 0.742 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.4547, allocations: 9.781 kB / 0.742 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4549, allocations: 84.45 kB / 0.7421 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.4549, allocations: 0 / 0.7421 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4549, allocations: 2 kB / 0.7421 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4549, allocations: 1.031 kB / 0.7421 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.455, allocations: 45.58 kB / 0.7421 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.4552, allocations: 196.1 kB / 0.7423 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.4554, allocations: 92.72 kB / 0.7424 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.4554, allocations: 33.16 kB / 0.7424 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.4556, allocations: 172.2 kB / 0.7426 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.4557, allocations: 39.81 kB / 0.7426 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.4557, allocations: 0 / 0.7426 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001157/0.4568, allocations: 0.5406 MB / 0.7432 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.4569, allocations: 58.16 kB / 0.7432 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.053e-05/0.4569, allocations: 107 kB / 0.7433 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.4569, allocations: 30.8 kB / 0.7433 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.457, allocations: 81.61 kB / 0.7434 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.457, allocations: 70.98 kB / 0.7435 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.4571, allocations: 43.39 kB / 0.7435 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.495e-05/0.4572, allocations: 313.2 kB / 0.7438 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.4572, allocations: 40.22 kB / 0.7439 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.4573, allocations: 70.09 kB / 0.7439 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.4575, allocations: 111.1 kB / 0.744 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4575, allocations: 0 / 0.744 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000204/0.4577, allocations: 160.7 kB / 0.7442 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4577, allocations: 8.094 kB / 0.7442 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.4577, allocations: 1.156 kB / 0.7442 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4577, allocations: 2.812 kB / 0.7442 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.4579, allocations: 43.42 kB / 0.7442 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4579, allocations: 1.938 kB / 0.7443 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.458, allocations: 13.31 kB / 0.7443 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.458, allocations: 5.438 kB / 0.7443 GB, free: 1.613 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.539e-05/0.4581, allocations: 124.5 kB / 0.7444 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.4581, allocations: 9.219 kB / 0.7444 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.4581, allocations: 18.97 kB / 0.7444 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4581, allocations: 2.25 kB / 0.7444 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4581, allocations: 6.891 kB / 0.7444 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4581, allocations: 7.938 kB / 0.7444 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.4583, allocations: 191.4 kB / 0.7446 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4583, allocations: 0 / 0.7446 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.4585, allocations: 35.77 kB / 0.7446 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4585, allocations: 3.938 kB / 0.7447 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4585, allocations: 10.42 kB / 0.7447 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4585, allocations: 0 / 0.7447 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4585, allocations: 3.297 kB / 0.7447 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.4588, allocations: 208.3 kB / 0.7449 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.4588, allocations: 93.97 kB / 0.745 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.4588, allocations: 2.562 kB / 0.745 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.459, allocations: 13.55 kB / 0.745 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.459, allocations: 12.61 kB / 0.745 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.459, allocations: 7.062 kB / 0.745 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.459, allocations: 78.19 kB / 0.7451 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4591, allocations: 0 / 0.7451 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001975/0.4593, allocations: 24.81 kB / 0.7451 GB, free: 0.8867 MB / 0.5606 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 (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.0004356/0.4597, allocations: 0.7472 MB / 0.7458 GB, free: 220 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.4599, allocations: 122.4 kB / 0.7459 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4599, allocations: 3.938 kB / 0.7459 GB, free: 164 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.46, allocations: 58.38 kB / 0.746 GB, free: 140 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.4602, allocations: 21.05 kB / 0.746 GB, free: 128 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.4617, allocations: 1.812 MB / 0.7478 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.4619, allocations: 0.7022 MB / 0.7485 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.462, allocations: 23.05 kB / 0.7485 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.4621, allocations: 24.09 kB / 0.7485 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.4621, allocations: 0 / 0.7485 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.46/2.922, allocations: 2.392 MB / 0.7508 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/18.35, allocations: 3.375 kB / 0.7508 GB, free: 12.59 MB / 0.5762 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/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)