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.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.001022/0.001022, 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.0009401/0.0009401, 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.9103/0.9103, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7327/0.7327, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_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 1.573e-06/1.573e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.652e-05, allocations: 2.281 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4549/0.4549, allocations: 180.6 MB / 0.7944 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.007966/0.4629, allocations: 6.011 MB / 0.8003 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008597/0.4638, allocations: 49.25 kB / 0.8003 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.4651, allocations: 0.7056 MB / 0.801 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.4695, allocations: 2.879 MB / 0.8038 GB, free: 12.21 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.001101/0.4706, allocations: 0.7335 MB / 0.8045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.4729, allocations: 3.386 MB / 0.8078 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/0.4735, allocations: 0.8111 MB / 0.8086 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.4752, allocations: 1.837 MB / 0.8104 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.4763, allocations: 1.027 MB / 0.8114 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.4764, allocations: 128 kB / 0.8115 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.4789, allocations: 1.95 MB / 0.8135 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.4792, allocations: 0.5632 MB / 0.814 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.4796, allocations: 0.5335 MB / 0.8145 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.4816, allocations: 2.824 MB / 0.8173 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4816, allocations: 4 kB / 0.8173 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of FrontEnd: time 8.82e-07/0.4817, allocations: 0 / 0.8173 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.4817, allocations: 0 / 0.8173 GB, free: 4.414 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.002155/0.4838, allocations: 1.723 MB / 0.819 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4839, allocations: 12.12 kB / 0.819 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.484, allocations: 160.5 kB / 0.8191 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.485, allocations: 360.4 kB / 0.8195 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009051/0.4859, allocations: 0.8117 MB / 0.8203 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.486, allocations: 81.69 kB / 0.8203 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.4861, allocations: 102.5 kB / 0.8204 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.4874, allocations: 1.393 MB / 0.8218 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.4874, allocations: 0 / 0.8218 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/0.4875, allocations: 46.61 kB / 0.8218 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.4875, allocations: 55.48 kB / 0.8219 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.4887, allocations: 1.243 MB / 0.8231 GB, free: 0.625 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.003391/0.4921, allocations: 3.12 MB / 0.8262 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000858/0.493, allocations: 0.8337 MB / 0.827 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.4935, allocations: 485.6 kB / 0.8274 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.009e-05/0.4935, allocations: 16.64 kB / 0.8275 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005134/0.494, allocations: 0.6737 MB / 0.8281 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 1.833e-06/0.494, allocations: 0 / 0.8281 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001284/0.4953, allocations: 1.165 MB / 0.8293 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.4953, allocations: 64.06 kB / 0.8293 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.4957, allocations: 0.5744 MB / 0.8299 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.4958, allocations: 41.7 kB / 0.8299 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.496, allocations: 468.6 kB / 0.8304 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.4961, allocations: 281.6 kB / 0.8306 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.4963, allocations: 130.7 kB / 0.8308 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4964, allocations: 390.7 kB / 0.8311 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.4967, allocations: 329.8 kB / 0.8314 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.4971, allocations: 440.8 kB / 0.8319 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.4978, allocations: 0.8271 MB / 0.8327 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.4978, allocations: 0 / 0.8327 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008975/0.4987, allocations: 0.9417 MB / 0.8336 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4987, allocations: 4 kB / 0.8336 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4987, allocations: 4 kB / 0.8336 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4987, allocations: 4 kB / 0.8336 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.4991, allocations: 159.8 kB / 0.8338 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4991, allocations: 4 kB / 0.8338 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.4994, allocations: 67.84 kB / 0.8338 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.4994, allocations: 31.94 kB / 0.8339 GB, free: 6.383 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.0002861/0.4997, allocations: 333.1 kB / 0.8342 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.84e-05/0.4998, allocations: 91.42 kB / 0.8343 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.4999, allocations: 103.8 kB / 0.8344 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4999, allocations: 8 kB / 0.8344 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4999, allocations: 0 / 0.8344 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009035/0.5008, allocations: 1.089 MB / 0.8354 GB, free: 4.664 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.001984/0.5028, allocations: 2.026 MB / 0.8374 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.5028, allocations: 4.031 kB / 0.8374 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.5033, allocations: 175.8 kB / 0.8376 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.5033, allocations: 7.938 kB / 0.8376 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.5033, allocations: 15.98 kB / 0.8376 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/0.5033, allocations: 4 kB / 0.8376 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5033, allocations: 0 / 0.8376 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.5045, allocations: 1.356 MB / 0.8389 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.5047, allocations: 179.3 kB / 0.8391 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.5048, allocations: 16.75 kB / 0.8391 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.5051, allocations: 27.94 kB / 0.8391 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.149e-05/0.5051, allocations: 52.5 kB / 0.8392 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.5052, allocations: 27.98 kB / 0.8392 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003083/0.5055, allocations: 407.1 kB / 0.8396 GB, free: 316 kB / 0.6823 GB Notification: Performance of sort global known variables: time 8e-08/0.5055, allocations: 4 kB / 0.8396 GB, free: 312 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005951/0.5061, allocations: 367.3 kB / 0.84 GB, free: 15.94 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.001483/0.5076, allocations: 1.969 MB / 0.8419 GB, free: 13.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008215/0.5084, allocations: 0.7674 MB / 0.8426 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5084, allocations: 4.062 kB / 0.8426 GB, free: 13.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/0.5087, allocations: 411.5 kB / 0.843 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.5101, allocations: 0.5973 MB / 0.8436 GB, free: 12.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006041/0.5161, allocations: 7.171 MB / 0.8506 GB, free: 4.895 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.5164, allocations: 0.5427 MB / 0.8511 GB, free: 4.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005154/0.517, allocations: 275.1 kB / 0.8514 GB, free: 4.047 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.5173, allocations: 384.4 kB / 0.8518 GB, free: 3.672 MB / 0.698 GB Notification: Performance of SimCode: time 9.01e-07/0.5173, allocations: 0 / 0.8518 GB, free: 3.672 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.5528, allocations: 28.68 MB / 0.8798 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.942, allocations: 0 / 0.8798 GB, free: 7.633 MB / 0.7292 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_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: 10.871418837457895] Failed to read output from testmodel.py, exit status != 0: 8.033971776254475 8.043216149 7.559712777 Calling exit ...