Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.001715/0.001715, 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.002194/0.002194, allocations: 218.4 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.988 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.9704/0.9704, allocations: 145 MB / 457.4 MB, free: 15.55 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.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",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.002089/0.002089, allocations: 73.86 kB / 0.6332 GB, free: 7.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1899, allocations: 87.88 MB / 0.719 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.6336/0.8235, allocations: 208.5 MB / 0.9226 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01186/0.8354, allocations: 6.405 MB / 0.9288 GB, free: 6.445 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.837, allocations: 51.62 kB / 0.9289 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.8391, allocations: 0.7772 MB / 0.9296 GB, free: 5.613 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007327/0.8464, allocations: 2.823 MB / 0.9324 GB, free: 2.781 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.8485, allocations: 0.739 MB / 0.9331 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004805/0.8533, allocations: 3.363 MB / 0.9364 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.8547, allocations: 0.813 MB / 0.9372 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.8571, allocations: 1.315 MB / 0.9385 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.8595, allocations: 1.17 MB / 0.9396 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.8597, allocations: 128 kB / 0.9397 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005218/0.8649, allocations: 2.556 MB / 0.9422 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007304/0.8657, allocations: 0.5336 MB / 0.9427 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.8667, allocations: 0.7353 MB / 0.9435 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.8723, allocations: 2.894 MB / 0.9463 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.8723, allocations: 0 / 0.9463 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8723, allocations: 0 / 0.9463 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.8724, allocations: 0 / 0.9463 GB, free: 4.496 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004476/0.8769, allocations: 1.738 MB / 0.948 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.8769, allocations: 8.031 kB / 0.948 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002184/0.8771, allocations: 164.6 kB / 0.9481 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.8794, allocations: 358.9 kB / 0.9485 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.8811, allocations: 0.8064 MB / 0.9493 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.8812, allocations: 85.94 kB / 0.9494 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.8814, allocations: 96 kB / 0.9494 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.8836, allocations: 1.199 MB / 0.9506 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.8836, allocations: 0 / 0.9506 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.8837, allocations: 36 kB / 0.9507 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.128e-05/0.8838, allocations: 66.02 kB / 0.9507 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.8859, allocations: 1.246 MB / 0.9519 GB, free: 14.59 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007311/0.8932, allocations: 5.06 MB / 0.9569 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.8947, allocations: 0.8258 MB / 0.9577 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007699/0.8954, allocations: 493.2 kB / 0.9582 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-05/0.8955, allocations: 16.8 kB / 0.9582 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008113/0.8963, allocations: 488.2 kB / 0.9586 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/0.8963, allocations: 0 / 0.9586 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.002116/0.8984, allocations: 1.165 MB / 0.9598 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.8985, allocations: 60.06 kB / 0.9598 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.8992, allocations: 0.5822 MB / 0.9604 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.8993, allocations: 37.7 kB / 0.9604 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.8997, allocations: 468.6 kB / 0.9609 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.9, allocations: 285.5 kB / 0.9612 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.9002, allocations: 126.6 kB / 0.9613 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.9004, allocations: 386.8 kB / 0.9616 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005352/0.9009, allocations: 337.8 kB / 0.962 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.9016, allocations: 449.8 kB / 0.9624 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.9028, allocations: 0.8233 MB / 0.9632 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9028, allocations: 0 / 0.9632 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001517/0.9043, allocations: 0.93 MB / 0.9641 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9043, allocations: 8.344 kB / 0.9641 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.9043, allocations: 8 kB / 0.9641 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.9043, allocations: 7.938 kB / 0.9641 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/0.9051, allocations: 163.7 kB / 0.9643 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.9051, allocations: 4 kB / 0.9643 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.9058, allocations: 63.52 kB / 0.9643 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.9058, allocations: 24 kB / 0.9644 GB, free: 1.238 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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 0.0004987/0.9063, allocations: 329.5 kB / 0.9647 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9064, allocations: 91.47 kB / 0.9648 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.9067, allocations: 115.7 kB / 0.9649 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.9067, allocations: 8 kB / 0.9649 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.9067, allocations: 0 / 0.9649 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001424/0.9081, allocations: 1.089 MB / 0.966 GB, free: 15.51 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.9117, allocations: 2.285 MB / 0.9682 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.9117, allocations: 0 / 0.9682 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/0.9126, allocations: 175.8 kB / 0.9684 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.9126, allocations: 4 kB / 0.9684 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.9126, allocations: 19.98 kB / 0.9684 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.9126, allocations: 4 kB / 0.9684 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.9126, allocations: 0 / 0.9684 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.9146, allocations: 1.356 MB / 0.9697 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.9151, allocations: 183.3 kB / 0.9699 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.9152, allocations: 16 kB / 0.9699 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/0.9158, allocations: 23.98 kB / 0.9699 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.795e-05/0.9159, allocations: 44.56 kB / 0.97 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.916, allocations: 24 kB / 0.97 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000537/0.9165, allocations: 415 kB / 0.9704 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9165, allocations: 0 / 0.9704 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009154/0.9174, allocations: 371.3 kB / 0.9707 GB, free: 10.52 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002472/0.9199, allocations: 1.986 MB / 0.9727 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.9212, allocations: 0.7629 MB / 0.9734 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.9212, allocations: 4.688 kB / 0.9734 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.9218, allocations: 411.5 kB / 0.9738 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.9244, allocations: 0.5864 MB / 0.9744 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.9351, allocations: 7.275 MB / 0.9815 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.936, allocations: 1.143 MB / 0.9826 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009391/0.9369, allocations: 272.7 kB / 0.9829 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/0.9375, allocations: 383.3 kB / 0.9832 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of SimCode: time 1.462e-06/0.9375, allocations: 3.938 kB / 0.9832 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06723/1.005, allocations: 26.76 MB / 1.009 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.56, allocations: 6.234 kB / 1.009 GB, free: 3.082 MB / 0.7794 GB " [Timeout remaining time 646] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.515756417000375] Failed to read output from testmodel.py, exit status != 0: 13.691248970000743 13.715961988 12.839472431 Calling exit ...