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.0007543/0.0007543, 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.0008128/0.0008128, allocations: 165.9 kB / 22.46 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.8404/0.8404, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.6876/0.6876, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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.322e-06/1.322e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.158e-05, allocations: 5.516 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.3537/0.3537, allocations: 180.6 MB / 0.7944 GB, free: 2.273 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.006736/0.3604, allocations: 6.021 MB / 0.8003 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007004/0.3611, allocations: 48.78 kB / 0.8003 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3622, allocations: 0.6878 MB / 0.801 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.003736/0.366, allocations: 2.883 MB / 0.8038 GB, free: 12.23 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.001003/0.367, allocations: 0.7305 MB / 0.8045 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.3693, allocations: 3.392 MB / 0.8078 GB, free: 10.11 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.37, allocations: 0.8138 MB / 0.8086 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.3716, allocations: 1.841 MB / 0.8104 GB, free: 8.398 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.3726, allocations: 1.03 MB / 0.8114 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-05/0.3727, allocations: 126.9 kB / 0.8116 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.3747, allocations: 1.93 MB / 0.8134 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.375, allocations: 0.5674 MB / 0.814 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.3754, allocations: 0.5379 MB / 0.8145 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.3772, allocations: 2.817 MB / 0.8173 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3772, allocations: 3.969 kB / 0.8173 GB, free: 4.406 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3772, allocations: 4 kB / 0.8173 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.3772, allocations: 3.938 kB / 0.8173 GB, free: 4.398 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.002061/0.3793, allocations: 1.727 MB / 0.819 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3793, allocations: 11.94 kB / 0.819 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.3795, allocations: 164.9 kB / 0.8191 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.3805, allocations: 350.4 kB / 0.8195 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000877/0.3814, allocations: 0.8117 MB / 0.8203 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.3814, allocations: 76.55 kB / 0.8203 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.3815, allocations: 110.5 kB / 0.8204 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.3827, allocations: 1.387 MB / 0.8218 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3827, allocations: 0 / 0.8218 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.3828, allocations: 43.12 kB / 0.8218 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.3828, allocations: 66.09 kB / 0.8219 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.3839, allocations: 1.233 MB / 0.8231 GB, free: 0.6133 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.003042/0.387, allocations: 3.123 MB / 0.8262 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.3878, allocations: 0.8376 MB / 0.827 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.3882, allocations: 493.5 kB / 0.8274 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.3883, allocations: 13.78 kB / 0.8275 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004862/0.3888, allocations: 0.6815 MB / 0.8281 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 1.833e-06/0.3888, allocations: 0 / 0.8281 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.00117/0.3899, allocations: 1.161 MB / 0.8293 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.39, allocations: 60.06 kB / 0.8293 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.3904, allocations: 0.5783 MB / 0.8299 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.3904, allocations: 41.7 kB / 0.8299 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3906, allocations: 464.7 kB / 0.8304 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.3907, allocations: 281.7 kB / 0.8306 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.3909, allocations: 138.7 kB / 0.8308 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.391, allocations: 386.7 kB / 0.8311 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.3913, allocations: 333.8 kB / 0.8315 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3916, allocations: 448.8 kB / 0.8319 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000714/0.3923, allocations: 0.8271 MB / 0.8327 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3923, allocations: 0 / 0.8327 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008355/0.3932, allocations: 0.9304 MB / 0.8336 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3932, allocations: 12 kB / 0.8336 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3932, allocations: 4 kB / 0.8336 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3932, allocations: 4 kB / 0.8336 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.3936, allocations: 159.7 kB / 0.8338 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3936, allocations: 4 kB / 0.8338 GB, free: 6.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.3939, allocations: 63.52 kB / 0.8338 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.3939, allocations: 27.94 kB / 0.8339 GB, free: 6.355 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.0002667/0.3942, allocations: 330.3 kB / 0.8342 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.3942, allocations: 83.48 kB / 0.8343 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.3944, allocations: 115.7 kB / 0.8344 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3944, allocations: 8 kB / 0.8344 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.3944, allocations: 0 / 0.8344 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007827/0.3951, allocations: 1.089 MB / 0.8354 GB, free: 4.633 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.001785/0.3969, allocations: 2.022 MB / 0.8374 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3969, allocations: 4 kB / 0.8374 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.3974, allocations: 167.8 kB / 0.8376 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3974, allocations: 11.97 kB / 0.8376 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.3974, allocations: 16 kB / 0.8376 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3974, allocations: 7.938 kB / 0.8376 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3974, allocations: 0 / 0.8376 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.3986, allocations: 1.356 MB / 0.8389 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.3988, allocations: 179.2 kB / 0.8391 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/0.3989, allocations: 16 kB / 0.8391 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.3991, allocations: 29.66 kB / 0.8391 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3992, allocations: 40.58 kB / 0.8392 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3992, allocations: 27.11 kB / 0.8392 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000291/0.3995, allocations: 427 kB / 0.8396 GB, free: 284 kB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3995, allocations: 0 / 0.8396 GB, free: 284 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004907/0.4, allocations: 371.3 kB / 0.84 GB, free: 15.91 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.001462/0.4015, allocations: 1.97 MB / 0.8419 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007179/0.4022, allocations: 0.759 MB / 0.8426 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4022, allocations: 4 kB / 0.8426 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.4025, allocations: 407.5 kB / 0.843 GB, free: 12.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.4039, allocations: 0.5892 MB / 0.8436 GB, free: 12.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.4097, allocations: 7.175 MB / 0.8506 GB, free: 4.871 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.41, allocations: 0.5427 MB / 0.8511 GB, free: 4.297 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004715/0.4105, allocations: 271.2 kB / 0.8514 GB, free: 4.027 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.4109, allocations: 384.4 kB / 0.8518 GB, free: 3.652 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.4109, allocations: 0 / 0.8518 GB, free: 3.652 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.4423, allocations: 28.69 MB / 0.8798 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.804/7.246, allocations: 14.11 kB / 0.8798 GB, free: 7.598 MB / 0.7292 GB " [Timeout remaining time 653] (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: 9.710924863815308] Failed to read output from testmodel.py, exit status != 0: 7.343989237211645 7.351907689 6.973035681 Calling exit ...