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.001146/0.001146, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001523/0.001523, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9418/0.9418, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7568/0.7568, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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="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 1.693e-06/1.693e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.16e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5137/0.5138, allocations: 180.6 MB / 0.7945 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009885/0.5236, allocations: 6.011 MB / 0.8003 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.5254, allocations: 48.78 kB / 0.8004 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.5271, allocations: 0.6926 MB / 0.8011 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006764/0.5339, allocations: 2.882 MB / 0.8039 GB, free: 12.12 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.001592/0.5355, allocations: 0.7383 MB / 0.8046 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003683/0.5392, allocations: 3.383 MB / 0.8079 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009451/0.5401, allocations: 0.8133 MB / 0.8087 GB, free: 9.453 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.5425, allocations: 1.833 MB / 0.8105 GB, free: 8.336 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.5439, allocations: 1.03 MB / 0.8115 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.544, allocations: 127.6 kB / 0.8116 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.5475, allocations: 1.942 MB / 0.8135 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004634/0.5479, allocations: 0.5634 MB / 0.8141 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005623/0.5485, allocations: 0.5419 MB / 0.8146 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.5518, allocations: 2.817 MB / 0.8173 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5518, allocations: 0 / 0.8173 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5518, allocations: 2.969 kB / 0.8173 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.5518, allocations: 0 / 0.8173 GB, free: 4.328 MB / 0.6667 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.002492/0.5543, allocations: 1.719 MB / 0.819 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.5543, allocations: 10.91 kB / 0.819 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.5545, allocations: 172.9 kB / 0.8192 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.5556, allocations: 354.9 kB / 0.8195 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009956/0.5566, allocations: 0.8168 MB / 0.8203 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.5566, allocations: 76.39 kB / 0.8204 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5567, allocations: 106.3 kB / 0.8205 GB, free: 2.145 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.5581, allocations: 1.395 MB / 0.8219 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.5582, allocations: 3.984 kB / 0.8219 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.5582, allocations: 42.91 kB / 0.8219 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.5583, allocations: 58.27 kB / 0.822 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.5595, allocations: 1.237 MB / 0.8232 GB, free: 0.5312 MB / 0.6667 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.003582/0.5631, allocations: 3.121 MB / 0.8262 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.564, allocations: 0.8214 MB / 0.827 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.5644, allocations: 493.6 kB / 0.8275 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.5645, allocations: 12.66 kB / 0.8275 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005491/0.565, allocations: 0.6775 MB / 0.8282 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.907e-06/0.565, allocations: 0 / 0.8282 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001384/0.5664, allocations: 1.169 MB / 0.8293 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.5665, allocations: 60.06 kB / 0.8294 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.5669, allocations: 0.5783 MB / 0.8299 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.567, allocations: 41.7 kB / 0.83 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.5672, allocations: 472.6 kB / 0.8304 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.5673, allocations: 277.7 kB / 0.8307 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.5675, allocations: 134.7 kB / 0.8308 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5676, allocations: 386.7 kB / 0.8312 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/0.5679, allocations: 329.8 kB / 0.8315 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.5683, allocations: 452.7 kB / 0.8319 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.569, allocations: 0.8193 MB / 0.8327 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.569, allocations: 4 kB / 0.8327 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008906/0.5699, allocations: 0.9379 MB / 0.8337 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.5699, allocations: 4 kB / 0.8337 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5699, allocations: 7.984 kB / 0.8337 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.57, allocations: 10.44 kB / 0.8337 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.5703, allocations: 147.8 kB / 0.8338 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.5703, allocations: 12.28 kB / 0.8338 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.5707, allocations: 63.52 kB / 0.8339 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.5708, allocations: 31.92 kB / 0.8339 GB, free: 6.262 MB / 0.6823 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.0003714/0.5711, allocations: 334.2 kB / 0.8342 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.262e-05/0.5712, allocations: 83.48 kB / 0.8343 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.5713, allocations: 107.8 kB / 0.8344 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5714, allocations: 8 kB / 0.8344 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5714, allocations: 0 / 0.8344 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009302/0.5723, allocations: 1.093 MB / 0.8355 GB, free: 4.543 MB / 0.6823 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.001965/0.5743, allocations: 2.019 MB / 0.8375 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5743, allocations: 0 / 0.8375 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.5747, allocations: 171.8 kB / 0.8376 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.5747, allocations: 11.88 kB / 0.8376 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.5747, allocations: 23.98 kB / 0.8377 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5747, allocations: 0 / 0.8377 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5747, allocations: 0 / 0.8377 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.5759, allocations: 1.36 MB / 0.839 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.5762, allocations: 179.3 kB / 0.8392 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.5763, allocations: 20 kB / 0.8392 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.5766, allocations: 33.47 kB / 0.8392 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.5767, allocations: 44.56 kB / 0.8393 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.5767, allocations: 23.98 kB / 0.8393 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003494/0.577, allocations: 415.1 kB / 0.8397 GB, free: 192 kB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.577, allocations: 0 / 0.8397 GB, free: 192 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008071/0.5778, allocations: 364.1 kB / 0.84 GB, free: 15.83 MB / 0.698 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.001662/0.5795, allocations: 1.976 MB / 0.842 GB, free: 13.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009537/0.5805, allocations: 0.7713 MB / 0.8427 GB, free: 13.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5805, allocations: 0 / 0.8427 GB, free: 13.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.5808, allocations: 411.5 kB / 0.8431 GB, free: 12.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.5822, allocations: 0.5831 MB / 0.8437 GB, free: 12.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.5894, allocations: 7.172 MB / 0.8507 GB, free: 4.773 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.5898, allocations: 0.5427 MB / 0.8512 GB, free: 4.203 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.5906, allocations: 278.2 kB / 0.8515 GB, free: 3.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.591, allocations: 380.4 kB / 0.8518 GB, free: 3.559 MB / 0.698 GB Notification: Performance of SimCode: time 2.074e-06/0.591, allocations: 3.938 kB / 0.8518 GB, free: 3.555 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.6337, allocations: 28.68 MB / 0.8798 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/8.049, allocations: 3.609 kB / 0.8798 GB, free: 7.52 MB / 0.7292 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 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: 11.020366064272821] Failed to read output from testmodel.py, exit status != 0: 8.14038428477943 8.148397958 7.594851186 Calling exit ...