Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 106.9 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7886/0.7886, allocations: 132.2 MB / 429.4 MB, free: 5.953 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 77.14 kB / 0.5894 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1373, allocations: 80.2 MB / 0.6677 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.486/0.6233, allocations: 204.2 MB / 0.8671 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00964/0.633, allocations: 6.358 MB / 0.8733 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008693/0.6339, allocations: 36.69 kB / 0.8733 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.6355, allocations: 0.7318 MB / 0.874 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005472/0.6411, allocations: 2.673 MB / 0.8766 GB, free: 15.75 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001569/0.6426, allocations: 0.7098 MB / 0.8773 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003694/0.6463, allocations: 3.267 MB / 0.8805 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.6477, allocations: 1.144 MB / 0.8816 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.6495, allocations: 1.253 MB / 0.8829 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.6512, allocations: 1.092 MB / 0.8839 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.6514, allocations: 128 kB / 0.884 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/0.6555, allocations: 2.358 MB / 0.8863 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005136/0.6561, allocations: 0.5182 MB / 0.8868 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007687/0.6568, allocations: 0.7391 MB / 0.8876 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.6604, allocations: 2.811 MB / 0.8903 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6604, allocations: 0 / 0.8903 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6604, allocations: 0 / 0.8903 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.6604, allocations: 0 / 0.8903 GB, free: 1.68 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003671/0.6641, allocations: 1.813 MB / 0.8921 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.6641, allocations: 8.031 kB / 0.8921 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.6643, allocations: 160.6 kB / 0.8922 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.6664, allocations: 354.9 kB / 0.8926 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.6678, allocations: 0.8863 MB / 0.8934 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.6678, allocations: 82 kB / 0.8935 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.668, allocations: 100 kB / 0.8936 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.6699, allocations: 1.187 MB / 0.8948 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.6699, allocations: 0 / 0.8948 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/0.67, allocations: 40 kB / 0.8948 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.929e-05/0.6701, allocations: 66.06 kB / 0.8949 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.672, allocations: 1.249 MB / 0.8961 GB, free: 11.59 MB / 0.6544 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.006204/0.6783, allocations: 5.092 MB / 0.9011 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.6798, allocations: 1.154 MB / 0.9022 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007538/0.6806, allocations: 0.5012 MB / 0.9027 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.668e-05/0.6806, allocations: 12.66 kB / 0.9027 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007326/0.6814, allocations: 496.1 kB / 0.9032 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.384e-06/0.6814, allocations: 0 / 0.9032 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001951/0.6833, allocations: 1.153 MB / 0.9043 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.6834, allocations: 64.05 kB / 0.9044 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.6841, allocations: 0.5706 MB / 0.9049 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.6842, allocations: 41.7 kB / 0.905 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.6845, allocations: 472.8 kB / 0.9054 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.6848, allocations: 281.6 kB / 0.9057 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.685, allocations: 130.7 kB / 0.9058 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6852, allocations: 390.7 kB / 0.9062 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/0.6857, allocations: 325.8 kB / 0.9065 GB, free: 344 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.6863, allocations: 462.6 kB / 0.9069 GB, free: 15.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.6874, allocations: 0.8233 MB / 0.9077 GB, free: 14.98 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6875, allocations: 0 / 0.9077 GB, free: 14.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001395/0.6889, allocations: 0.9339 MB / 0.9086 GB, free: 14.04 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6889, allocations: 11.94 kB / 0.9087 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.6889, allocations: 0 / 0.9087 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6889, allocations: 8 kB / 0.9087 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.6896, allocations: 152.5 kB / 0.9088 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.525e-05/0.6896, allocations: 11.94 kB / 0.9088 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.6903, allocations: 67.72 kB / 0.9089 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.6903, allocations: 28 kB / 0.9089 GB, free: 13.77 MB / 0.67 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.0004204/0.6907, allocations: 329.5 kB / 0.9092 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6909, allocations: 87.42 kB / 0.9093 GB, free: 13.35 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.6911, allocations: 111.7 kB / 0.9094 GB, free: 13.23 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6911, allocations: 8 kB / 0.9094 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.6911, allocations: 1.375 kB / 0.9094 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001327/0.6925, allocations: 1.089 MB / 0.9105 GB, free: 12.04 MB / 0.67 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.00305/0.6955, allocations: 2.303 MB / 0.9127 GB, free: 9.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6956, allocations: 0 / 0.9127 GB, free: 9.652 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/0.6964, allocations: 183.8 kB / 0.9129 GB, free: 9.473 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.6964, allocations: 4 kB / 0.9129 GB, free: 9.469 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.6965, allocations: 12 kB / 0.9129 GB, free: 9.457 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.6965, allocations: 4 kB / 0.9129 GB, free: 9.453 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6965, allocations: 8.016 kB / 0.9129 GB, free: 9.445 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.6985, allocations: 1.499 MB / 0.9144 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.6988, allocations: 252.4 kB / 0.9146 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.699, allocations: 16 kB / 0.9147 GB, free: 7.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.6995, allocations: 19.98 kB / 0.9147 GB, free: 7.629 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6996, allocations: 48.59 kB / 0.9147 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.642e-05/0.6997, allocations: 31.92 kB / 0.9148 GB, free: 7.551 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004717/0.7002, allocations: 407.1 kB / 0.9151 GB, free: 7.16 MB / 0.67 GB Notification: Performance of sort global known variables: time 3e-07/0.7002, allocations: 4 kB / 0.9151 GB, free: 7.156 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007716/0.701, allocations: 367.3 kB / 0.9155 GB, free: 6.797 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.002411/0.7034, allocations: 2.11 MB / 0.9176 GB, free: 4.656 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.7046, allocations: 0.8099 MB / 0.9184 GB, free: 3.844 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.7046, allocations: 4 kB / 0.9184 GB, free: 3.84 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.7052, allocations: 427.5 kB / 0.9188 GB, free: 3.426 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.7077, allocations: 0.6008 MB / 0.9193 GB, free: 2.863 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009282/0.717, allocations: 7.253 MB / 0.9264 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.7178, allocations: 1.136 MB / 0.9275 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007768/0.7185, allocations: 267.2 kB / 0.9278 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/0.7191, allocations: 375.3 kB / 0.9282 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.7191, allocations: 4 kB / 0.9282 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05456/0.7737, allocations: 25.98 MB / 0.9535 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.544, allocations: 4.875 kB / 0.9535 GB, free: 15.95 MB / 0.7169 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.713302188087255] Failed to read output from testmodel.py, exit status != 0: 9.638087995816022 9.651167258 8.988349039 Calling exit ...