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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 213.8 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9054/0.9054, allocations: 145 MB / 457.4 MB, free: 15.46 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 70.27 kB / 0.6331 GB, free: 7.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1851, allocations: 87.88 MB / 0.719 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002968/0.1881, allocations: 1.367 MB / 0.7203 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5614/0.7495, allocations: 151.4 MB / 0.8682 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.7496, allocations: 4 kB / 0.8682 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.7496, allocations: 7.922 kB / 0.8682 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.205e-05/0.7497, allocations: 7.922 kB / 0.8682 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009537/0.7507, allocations: 346.6 kB / 0.8685 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.7508, allocations: 63.81 kB / 0.8686 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.7508, allocations: 4 kB / 0.8686 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.7509, allocations: 35.84 kB / 0.8686 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.849e-05/0.751, allocations: 35.89 kB / 0.8687 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.751, allocations: 0 / 0.8687 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008404/0.7518, allocations: 446.7 kB / 0.8691 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.7519, allocations: 19.91 kB / 0.8691 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.7519, allocations: 19.94 kB / 0.8691 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.7522, allocations: 159.6 kB / 0.8693 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7522, allocations: 8 kB / 0.8693 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7522, allocations: 0 / 0.8693 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.7522, allocations: 1.688 kB / 0.8693 GB, free: 3.445 MB / 0.6387 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.0004393/0.7527, allocations: 310 kB / 0.8696 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7527, allocations: 8.031 kB / 0.8696 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.7527, allocations: 46.67 kB / 0.8696 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004042/0.7531, allocations: 36.84 kB / 0.8697 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.888e-05/0.7532, allocations: 114.5 kB / 0.8698 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.7533, allocations: 3.938 kB / 0.8698 GB, free: 2.875 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.7533, allocations: 20.88 kB / 0.8698 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.7535, allocations: 73.66 kB / 0.8699 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.7535, allocations: 3.984 kB / 0.8699 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.7535, allocations: 0 / 0.8699 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.7535, allocations: 4 kB / 0.8699 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.17e-05/0.7536, allocations: 47.89 kB / 0.8699 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.7538, allocations: 156.7 kB / 0.8701 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.754, allocations: 86.59 kB / 0.8701 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.754, allocations: 28.94 kB / 0.8702 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.7542, allocations: 24.3 kB / 0.8702 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.7542, allocations: 38.5 kB / 0.8702 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.7542, allocations: 10.28 kB / 0.8702 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001225/0.7554, allocations: 479.9 kB / 0.8707 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7555, allocations: 55.41 kB / 0.8708 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.7555, allocations: 101.8 kB / 0.8709 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.7556, allocations: 33.7 kB / 0.8709 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.7556, allocations: 80.52 kB / 0.871 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/0.7557, allocations: 75.38 kB / 0.871 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.7557, allocations: 37.7 kB / 0.8711 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.7559, allocations: 322.8 kB / 0.8714 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.756, allocations: 32.86 kB / 0.8714 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.453e-05/0.7561, allocations: 80.08 kB / 0.8715 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.7562, allocations: 111.3 kB / 0.8716 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.7562, allocations: 4 kB / 0.8716 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002301/0.7564, allocations: 153.5 kB / 0.8717 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7565, allocations: 4 kB / 0.8717 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7565, allocations: 0 / 0.8717 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.7565, allocations: 4 kB / 0.8717 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.7567, allocations: 47.91 kB / 0.8718 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.7567, allocations: 4 kB / 0.8718 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.7567, allocations: 11.94 kB / 0.8718 GB, free: 0.6172 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.7567, allocations: 4 kB / 0.8718 GB, free: 0.6133 MB / 0.6387 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 9.476e-05/0.7568, allocations: 117.8 kB / 0.8719 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.7569, allocations: 7.953 kB / 0.8719 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.7569, allocations: 20.47 kB / 0.872 GB, free: 472 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7569, allocations: 3.938 kB / 0.872 GB, free: 468 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7569, allocations: 3.938 kB / 0.872 GB, free: 464 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.7569, allocations: 11.92 kB / 0.872 GB, free: 452 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.7571, allocations: 160.7 kB / 0.8721 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7571, allocations: 0 / 0.8721 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.7573, allocations: 39.98 kB / 0.8722 GB, free: 208 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7573, allocations: 0 / 0.8722 GB, free: 208 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.7573, allocations: 4 kB / 0.8722 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7573, allocations: 0 / 0.8722 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7573, allocations: 3 kB / 0.8722 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.7576, allocations: 222.5 kB / 0.8724 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.7577, allocations: 15.95 kB / 0.8724 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.7577, allocations: 8.047 kB / 0.8724 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.7578, allocations: 11.94 kB / 0.8724 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.7578, allocations: 11.92 kB / 0.8724 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.7579, allocations: 11.98 kB / 0.8724 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.7579, allocations: 79.28 kB / 0.8725 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7579, allocations: 0 / 0.8725 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002129/0.7581, allocations: 24 kB / 0.8725 GB, free: 15.8 MB / 0.6544 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.0006509/0.7588, allocations: 0.7495 MB / 0.8733 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002073/0.759, allocations: 100.5 kB / 0.8734 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.759, allocations: 0 / 0.8734 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/0.7591, allocations: 47.92 kB / 0.8734 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.7593, allocations: 29.08 kB / 0.8734 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.7613, allocations: 1.818 MB / 0.8752 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.7617, allocations: 0.7008 MB / 0.8759 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.7618, allocations: 24.62 kB / 0.8759 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.7618, allocations: 27.42 kB / 0.8759 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.7618, allocations: 0 / 0.8759 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03018/0.792, allocations: 2.64 MB / 0.8785 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.77, allocations: 6.656 kB / 0.8785 GB, free: 9.668 MB / 0.6544 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.605828318999556] Failed to read output from testmodel.py, exit status != 0: 11.872451086997899 11.887503642 11.13220721 Calling exit ...