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.001259/0.001259, 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.001542/0.001542, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.428/1.428, 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.9325/0.9325, allocations: 145 MB / 457.4 MB, free: 15.52 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.002112/0.002112, allocations: 62.25 kB / 0.6332 GB, free: 7.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1639, allocations: 87.89 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5651/0.729, allocations: 208.5 MB / 0.9226 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.7411, allocations: 6.407 MB / 0.9288 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.7427, allocations: 47.62 kB / 0.9289 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.745, allocations: 0.7655 MB / 0.9296 GB, free: 5.551 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.7522, allocations: 2.827 MB / 0.9324 GB, free: 2.715 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.002098/0.7543, allocations: 0.7446 MB / 0.9331 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004547/0.7589, allocations: 3.361 MB / 0.9364 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.7603, allocations: 0.8129 MB / 0.9372 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.7628, allocations: 1.309 MB / 0.9384 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.7655, allocations: 1.179 MB / 0.9396 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.7658, allocations: 132 kB / 0.9397 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005016/0.7708, allocations: 2.552 MB / 0.9422 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000758/0.7716, allocations: 0.5297 MB / 0.9427 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.773, allocations: 0.7391 MB / 0.9435 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005371/0.7784, allocations: 2.896 MB / 0.9463 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7784, allocations: 0 / 0.9463 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7784, allocations: 0 / 0.9463 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.288e-05/0.7784, allocations: 4 kB / 0.9463 GB, free: 4.414 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.004712/0.7831, allocations: 1.73 MB / 0.948 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.7832, allocations: 12.03 kB / 0.948 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002366/0.7834, allocations: 168.5 kB / 0.9481 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.7857, allocations: 350.9 kB / 0.9485 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.7876, allocations: 0.8103 MB / 0.9493 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.7877, allocations: 82 kB / 0.9494 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.7879, allocations: 96 kB / 0.9494 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.79, allocations: 1.191 MB / 0.9506 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.79, allocations: 3.984 kB / 0.9506 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.7901, allocations: 47.3 kB / 0.9507 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.161e-05/0.7902, allocations: 58.08 kB / 0.9507 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.7923, allocations: 1.25 MB / 0.9519 GB, free: 14.51 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.007438/0.7997, allocations: 5.052 MB / 0.9569 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.8013, allocations: 0.8221 MB / 0.9577 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008524/0.8022, allocations: 494.2 kB / 0.9581 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.8023, allocations: 32.5 kB / 0.9582 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007749/0.8031, allocations: 484.2 kB / 0.9586 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.805e-06/0.8031, allocations: 0 / 0.9586 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.002177/0.8053, allocations: 1.161 MB / 0.9598 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.8053, allocations: 64 kB / 0.9598 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008456/0.8062, allocations: 0.5744 MB / 0.9604 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-05/0.8062, allocations: 41.7 kB / 0.9604 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.8066, allocations: 468.6 kB / 0.9609 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.8069, allocations: 285.5 kB / 0.9611 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.8071, allocations: 134.6 kB / 0.9613 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.8073, allocations: 386.8 kB / 0.9616 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.8079, allocations: 329.8 kB / 0.962 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.8085, allocations: 448.8 kB / 0.9624 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.8098, allocations: 0.8272 MB / 0.9632 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.8098, allocations: 0 / 0.9632 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001647/0.8114, allocations: 0.9342 MB / 0.9641 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.8114, allocations: 12.03 kB / 0.9641 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.8115, allocations: 0 / 0.9641 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.8115, allocations: 11.94 kB / 0.9641 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.8122, allocations: 155.8 kB / 0.9643 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.8122, allocations: 7.938 kB / 0.9643 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008318/0.813, allocations: 67.5 kB / 0.9644 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.8131, allocations: 24 kB / 0.9644 GB, free: 1.16 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.0005697/0.8137, allocations: 325.6 kB / 0.9647 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.8139, allocations: 87.48 kB / 0.9648 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.8143, allocations: 115.7 kB / 0.9649 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.8143, allocations: 4 kB / 0.9649 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/0.8143, allocations: 4 kB / 0.9649 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/0.8157, allocations: 1.093 MB / 0.966 GB, free: 15.44 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.003849/0.8196, allocations: 2.279 MB / 0.9682 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8196, allocations: 0 / 0.9682 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/0.8205, allocations: 183.3 kB / 0.9684 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.8205, allocations: 0 / 0.9684 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/0.8206, allocations: 20 kB / 0.9684 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.8206, allocations: 4 kB / 0.9684 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8206, allocations: 0 / 0.9684 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.8226, allocations: 1.36 MB / 0.9697 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.8231, allocations: 183.3 kB / 0.9699 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.8232, allocations: 16 kB / 0.9699 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/0.8239, allocations: 16 kB / 0.9699 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.824, allocations: 48.56 kB / 0.97 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.824, allocations: 27.92 kB / 0.97 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005056/0.8245, allocations: 415.1 kB / 0.9704 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.8245, allocations: 0 / 0.9704 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009317/0.8254, allocations: 371.3 kB / 0.9707 GB, free: 10.45 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.002399/0.8278, allocations: 1.981 MB / 0.9727 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.8291, allocations: 0.7634 MB / 0.9734 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8291, allocations: 4.25 kB / 0.9734 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.8297, allocations: 411.5 kB / 0.9738 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.8322, allocations: 0.5874 MB / 0.9744 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.8429, allocations: 7.285 MB / 0.9815 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/0.8437, allocations: 1.136 MB / 0.9826 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000919/0.8446, allocations: 271.1 kB / 0.9829 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.8452, allocations: 383.3 kB / 0.9832 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of SimCode: time 5.41e-07/0.8452, allocations: 0 / 0.9832 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06917/0.9144, allocations: 26.77 MB / 1.009 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.5, allocations: 5.625 kB / 1.009 GB, free: 3.008 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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.09157488704659] Failed to read output from testmodel.py, exit status != 0: 13.62254674709402 13.641924919 12.85946788 Calling exit ...