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.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.001283/0.001283, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001341/0.001341, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.413/1.413, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.8409/0.8409, allocations: 133.9 MB / 443.5 MB, free: 13.85 MB / 350.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.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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001972/0.001972, allocations: 65.66 kB / 0.6141 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1553, allocations: 85.86 MB / 0.6979 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.63/0.7853, allocations: 207.8 MB / 0.9009 GB, free: 1.598 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008373/0.7937, allocations: 6.374 MB / 0.9071 GB, free: 1.531 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.7951, allocations: 48.28 kB / 0.9072 GB, free: 1.531 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.797, allocations: 0.7706 MB / 0.9079 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006489/0.8035, allocations: 2.76 MB / 0.9106 GB, free: 1.406 MB / 0.67 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.001779/0.8053, allocations: 0.7043 MB / 0.9113 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003395/0.8087, allocations: 3.285 MB / 0.9145 GB, free: 1.383 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.8098, allocations: 0.9392 MB / 0.9154 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.8118, allocations: 1.32 MB / 0.9167 GB, free: 1.309 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.8135, allocations: 1.174 MB / 0.9179 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.8136, allocations: 127.3 kB / 0.918 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003983/0.8176, allocations: 2.505 MB / 0.9204 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004904/0.8181, allocations: 0.5264 MB / 0.9209 GB, free: 1.266 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.8188, allocations: 0.741 MB / 0.9217 GB, free: 1.086 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.8226, allocations: 2.807 MB / 0.9244 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8226, allocations: 0 / 0.9244 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8226, allocations: 4.781 kB / 0.9244 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.511e-05/0.8226, allocations: 2.781 kB / 0.9244 GB, free: 0.7852 MB / 0.67 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.003611/0.8262, allocations: 1.811 MB / 0.9262 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8263, allocations: 13.38 kB / 0.9262 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.705e-05/0.8263, allocations: 26.2 kB / 0.9262 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.8265, allocations: 164.7 kB / 0.9264 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.8285, allocations: 354.6 kB / 0.9267 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.8298, allocations: 0.8777 MB / 0.9276 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.8298, allocations: 78.59 kB / 0.9277 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.83, allocations: 102.7 kB / 0.9278 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.8316, allocations: 1.185 MB / 0.9289 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.8316, allocations: 3 kB / 0.9289 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/0.8317, allocations: 39.84 kB / 0.929 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/0.8318, allocations: 61.77 kB / 0.929 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.8334, allocations: 1.249 MB / 0.9302 GB, free: 15.36 MB / 0.6856 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.005675/0.8391, allocations: 5.1 MB / 0.9352 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.8403, allocations: 1.096 MB / 0.9363 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.8409, allocations: 474.2 kB / 0.9367 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/0.8409, allocations: 17.5 kB / 0.9367 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006168/0.8415, allocations: 490.6 kB / 0.9372 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.325e-06/0.8415, allocations: 0.6875 kB / 0.9372 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.001754/0.8433, allocations: 1.162 MB / 0.9384 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.8433, allocations: 57.62 kB / 0.9384 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005959/0.8439, allocations: 0.5776 MB / 0.939 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.844, allocations: 37.45 kB / 0.939 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.8443, allocations: 474.3 kB / 0.9395 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.8445, allocations: 281.7 kB / 0.9397 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.8447, allocations: 131.3 kB / 0.9399 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.8449, allocations: 386.8 kB / 0.9402 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.8453, allocations: 328.8 kB / 0.9405 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.8458, allocations: 460.6 kB / 0.941 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009323/0.8467, allocations: 0.8259 MB / 0.9418 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.8467, allocations: 5.031 kB / 0.9418 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001125/0.8479, allocations: 0.9317 MB / 0.9427 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.8479, allocations: 11.34 kB / 0.9427 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8479, allocations: 2.281 kB / 0.9427 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.8479, allocations: 7.938 kB / 0.9427 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.8485, allocations: 158.2 kB / 0.9429 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8485, allocations: 8.688 kB / 0.9429 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.8493, allocations: 63.23 kB / 0.9429 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.8493, allocations: 29.88 kB / 0.943 GB, free: 10.95 MB / 0.6856 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.0004181/0.8497, allocations: 334.7 kB / 0.9433 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.8498, allocations: 89.23 kB / 0.9434 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.8501, allocations: 106.7 kB / 0.9435 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.8501, allocations: 8.688 kB / 0.9435 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.8501, allocations: 0.75 kB / 0.9435 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/0.8513, allocations: 1.087 MB / 0.9445 GB, free: 10.1 MB / 0.6856 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.002979/0.8542, allocations: 2.307 MB / 0.9468 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.8543, allocations: 6.594 kB / 0.9468 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008082/0.8551, allocations: 177.5 kB / 0.947 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.8551, allocations: 6.094 kB / 0.947 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.8551, allocations: 16.75 kB / 0.947 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8551, allocations: 7.156 kB / 0.947 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.8551, allocations: 7.125 kB / 0.947 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.8572, allocations: 1.49 MB / 0.9485 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.8576, allocations: 254.4 kB / 0.9487 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.442e-05/0.8577, allocations: 10.94 kB / 0.9487 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/0.8583, allocations: 25.27 kB / 0.9487 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.8584, allocations: 47.12 kB / 0.9488 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.8584, allocations: 27.67 kB / 0.9488 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004821/0.8589, allocations: 419.1 kB / 0.9492 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8589, allocations: 0 / 0.9492 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009302/0.8599, allocations: 370.8 kB / 0.9496 GB, free: 7.488 MB / 0.6856 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.002474/0.8623, allocations: 2.102 MB / 0.9516 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001213/0.8635, allocations: 0.7702 MB / 0.9524 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8635, allocations: 7.688 kB / 0.9524 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.864, allocations: 393.9 kB / 0.9528 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.8665, allocations: 0.5906 MB / 0.9533 GB, free: 5.297 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009632/0.8761, allocations: 7.255 MB / 0.9604 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007913/0.8769, allocations: 1.136 MB / 0.9615 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009391/0.8778, allocations: 279.1 kB / 0.9618 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/0.8784, allocations: 383.3 kB / 0.9622 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of SimCode: time 6.51e-07/0.8784, allocations: 0 / 0.9622 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05323/0.9316, allocations: 26.13 MB / 0.9877 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.082/10.01, allocations: 8.047 kB / 0.9877 GB, free: 3.508 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 sys.exit(0), Time elapsed: 13.714649682980962] Failed to read output from testmodel.py, exit status != 0: 10.434409680950921 10.16446468 9.338756376 Calling exit ...