Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001318/0.001318, allocations: 110 kB / 16.45 MB, free: 6.035 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.001524/0.001524, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 175.8 MB / 478.4 MB, free: 8.473 MB / 382.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-master/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_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.97 kB / 0.6652 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2075, allocations: 94.54 MB / 0.7575 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6731/0.8805, allocations: 204.9 MB / 0.9577 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.8919, allocations: 6.393 MB / 0.9639 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.8936, allocations: 39.81 kB / 0.9639 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.8959, allocations: 0.7616 MB / 0.9647 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007917/0.9038, allocations: 2.776 MB / 0.9674 GB, free: 1.031 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.002308/0.9061, allocations: 0.7069 MB / 0.9681 GB, free: 336 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005279/0.9114, allocations: 3.286 MB / 0.9713 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.9132, allocations: 0.9492 MB / 0.9722 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.9169, allocations: 1.402 MB / 0.9736 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.9203, allocations: 1.151 MB / 0.9747 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000328/0.9206, allocations: 131.9 kB / 0.9748 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006084/0.9267, allocations: 2.494 MB / 0.9773 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008871/0.9276, allocations: 0.5297 MB / 0.9778 GB, free: 6.344 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.929, allocations: 0.7469 MB / 0.9785 GB, free: 5.594 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006819/0.9358, allocations: 2.81 MB / 0.9813 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.9358, allocations: 0 / 0.9813 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9358, allocations: 0 / 0.9813 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.359e-05/0.9359, allocations: 4 kB / 0.9813 GB, free: 2.773 MB / 0.7637 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.004559/0.9404, allocations: 1.809 MB / 0.983 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.9405, allocations: 8.031 kB / 0.983 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/0.9407, allocations: 164.6 kB / 0.9832 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.943, allocations: 354.8 kB / 0.9835 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.9449, allocations: 0.8786 MB / 0.9844 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.945, allocations: 75.77 kB / 0.9845 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.9452, allocations: 104 kB / 0.9846 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.9472, allocations: 1.187 MB / 0.9857 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.9473, allocations: 3.984 kB / 0.9857 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.9474, allocations: 44 kB / 0.9858 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/0.9474, allocations: 58.08 kB / 0.9858 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.9494, allocations: 1.253 MB / 0.9871 GB, free: 12.7 MB / 0.7794 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.007424/0.9569, allocations: 5.266 MB / 0.9922 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.9585, allocations: 1.133 MB / 0.9933 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/0.9592, allocations: 488.5 kB / 0.9938 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.9593, allocations: 20.78 kB / 0.9938 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007945/0.9601, allocations: 496.2 kB / 0.9943 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 3.797e-06/0.9601, allocations: 0 / 0.9943 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.002127/0.9622, allocations: 1.161 MB / 0.9954 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.9623, allocations: 60.06 kB / 0.9955 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007265/0.963, allocations: 0.5745 MB / 0.996 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.9631, allocations: 41.7 kB / 0.9961 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.9635, allocations: 476.6 kB / 0.9965 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.9637, allocations: 269.6 kB / 0.9968 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.964, allocations: 138.6 kB / 0.9969 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.9642, allocations: 378.8 kB / 0.9973 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/0.9647, allocations: 329.8 kB / 0.9976 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.9653, allocations: 452.8 kB / 0.998 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.9665, allocations: 0.8232 MB / 0.9988 GB, free: 15.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.9665, allocations: 3.938 kB / 0.9988 GB, free: 15.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001509/0.968, allocations: 0.9378 MB / 0.9997 GB, free: 14.99 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.968, allocations: 11.94 kB / 0.9997 GB, free: 14.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.968, allocations: 3.938 kB / 0.9997 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.9681, allocations: 8 kB / 0.9997 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.9688, allocations: 151.8 kB / 0.9999 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.9688, allocations: 12.33 kB / 0.9999 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007435/0.9695, allocations: 67.52 kB / 1 GB, free: 14.74 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.9696, allocations: 24 kB / 1 GB, free: 14.71 MB / 0.795 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.0006037/0.9702, allocations: 330.9 kB / 1 GB, free: 14.38 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.9704, allocations: 91.41 kB / 1 GB, free: 14.29 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.9706, allocations: 107.8 kB / 1 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.9706, allocations: 8 kB / 1.001 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.9706, allocations: 0 / 1.001 GB, free: 14.17 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/0.9721, allocations: 1.093 MB / 1.002 GB, free: 13 MB / 0.795 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.003766/0.9758, allocations: 2.311 MB / 1.004 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9758, allocations: 4 kB / 1.004 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008584/0.9767, allocations: 167.8 kB / 1.004 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.9767, allocations: 4 kB / 1.004 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.9767, allocations: 19.98 kB / 1.004 GB, free: 10.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.9768, allocations: 11.97 kB / 1.004 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9768, allocations: 0 / 1.004 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.9788, allocations: 1.352 MB / 1.005 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/0.9794, allocations: 260.3 kB / 1.006 GB, free: 8.746 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9795, allocations: 19.98 kB / 1.006 GB, free: 8.727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.9801, allocations: 16 kB / 1.006 GB, free: 8.711 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.533e-05/0.9802, allocations: 48.59 kB / 1.006 GB, free: 8.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.9802, allocations: 31.92 kB / 1.006 GB, free: 8.633 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005484/0.9808, allocations: 415 kB / 1.006 GB, free: 8.23 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/0.9808, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009345/0.9817, allocations: 371.3 kB / 1.006 GB, free: 7.867 MB / 0.795 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.002415/0.9841, allocations: 1.97 MB / 1.008 GB, free: 5.871 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.9854, allocations: 0.7668 MB / 1.009 GB, free: 5.102 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.9854, allocations: 0 / 1.009 GB, free: 5.102 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.986, allocations: 411.5 kB / 1.01 GB, free: 4.703 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/0.9885, allocations: 0.5959 MB / 1.01 GB, free: 4.137 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.9992, allocations: 7.274 MB / 1.017 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/1, allocations: 1.14 MB / 1.018 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001039/1.001, allocations: 275.6 kB / 1.019 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005836/1.002, allocations: 383.3 kB / 1.019 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of SimCode: time 1.352e-06/1.002, allocations: 0 / 1.019 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06414/1.066, allocations: 26.03 MB / 1.044 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.731/10.8, allocations: 19.91 kB / 1.044 GB, free: 1.129 MB / 0.8262 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.55427124723792] Failed to read output from testmodel.py, exit status != 0: 10.883782553020865 10.903651954 9.963826746 Calling exit ...