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.0007752/0.0007752, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.000829/0.000829, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8873/0.8873, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.711/0.711, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.863e-06/1.863e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.955e-05/3.141e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.5095/0.5096, allocations: 180.6 MB / 0.7945 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009377/0.519, allocations: 6.001 MB / 0.8003 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.5206, allocations: 47.97 kB / 0.8004 GB, free: 14.08 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.5222, allocations: 0.7054 MB / 0.8011 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.5284, allocations: 2.871 MB / 0.8039 GB, free: 12.16 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.001883/0.5303, allocations: 0.7415 MB / 0.8046 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.004181/0.5344, allocations: 3.386 MB / 0.8079 GB, free: 10 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.5357, allocations: 0.8138 MB / 0.8087 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.539, allocations: 1.837 MB / 0.8105 GB, free: 8.305 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.5412, allocations: 1.027 MB / 0.8115 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.5414, allocations: 127.9 kB / 0.8116 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.5453, allocations: 1.948 MB / 0.8135 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006671/0.546, allocations: 0.5596 MB / 0.8141 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008307/0.5468, allocations: 0.5457 MB / 0.8146 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004936/0.5517, allocations: 2.813 MB / 0.8173 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5517, allocations: 2.281 kB / 0.8173 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5517, allocations: 0 / 0.8173 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.313e-05/0.5518, allocations: 0 / 0.8173 GB, free: 4.301 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.003089/0.5548, allocations: 1.724 MB / 0.819 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.5549, allocations: 8.406 kB / 0.819 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.555, allocations: 168.4 kB / 0.8192 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.5563, allocations: 356.1 kB / 0.8195 GB, free: 2.781 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5575, allocations: 0.8154 MB / 0.8203 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.5575, allocations: 80.22 kB / 0.8204 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.5576, allocations: 103.1 kB / 0.8205 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5591, allocations: 1.399 MB / 0.8219 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.5591, allocations: 0 / 0.8219 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.5592, allocations: 42.66 kB / 0.8219 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.5592, allocations: 58.27 kB / 0.822 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.5605, allocations: 1.237 MB / 0.8232 GB, free: 0.5039 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.003934/0.5645, allocations: 3.119 MB / 0.8262 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009026/0.5654, allocations: 0.8369 MB / 0.827 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/0.5659, allocations: 481.6 kB / 0.8275 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.566, allocations: 20.64 kB / 0.8275 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/0.5666, allocations: 0.6698 MB / 0.8282 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.386e-06/0.5666, allocations: 0 / 0.8282 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.001402/0.568, allocations: 1.173 MB / 0.8293 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.568, allocations: 60.06 kB / 0.8294 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005106/0.5685, allocations: 0.5744 MB / 0.8299 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.5686, allocations: 37.7 kB / 0.83 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.5688, allocations: 476.6 kB / 0.8304 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.569, allocations: 273.7 kB / 0.8307 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.5691, allocations: 130.7 kB / 0.8308 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.5692, allocations: 390.7 kB / 0.8312 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.5696, allocations: 329.8 kB / 0.8315 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.5699, allocations: 452.7 kB / 0.8319 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007473/0.5707, allocations: 0.8194 MB / 0.8327 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5707, allocations: 0 / 0.8327 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009368/0.5716, allocations: 0.9339 MB / 0.8336 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.5716, allocations: 11.98 kB / 0.8337 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5716, allocations: 0 / 0.8337 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.5717, allocations: 8 kB / 0.8337 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.5721, allocations: 155.8 kB / 0.8338 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.5721, allocations: 8.344 kB / 0.8338 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.5725, allocations: 71.5 kB / 0.8339 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.5725, allocations: 27.88 kB / 0.8339 GB, free: 6.227 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.0004936/0.573, allocations: 342.1 kB / 0.8342 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.5731, allocations: 83.48 kB / 0.8343 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.5733, allocations: 107.8 kB / 0.8344 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5733, allocations: 8 kB / 0.8344 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5733, allocations: 0 / 0.8344 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009371/0.5742, allocations: 1.089 MB / 0.8355 GB, free: 4.504 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.002755/0.577, allocations: 2.023 MB / 0.8375 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.577, allocations: 0 / 0.8375 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.5774, allocations: 171.8 kB / 0.8376 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.5775, allocations: 7.938 kB / 0.8376 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.5775, allocations: 23.98 kB / 0.8377 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.5775, allocations: 0 / 0.8377 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5775, allocations: 4 kB / 0.8377 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.5788, allocations: 1.353 MB / 0.839 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.5791, allocations: 187.3 kB / 0.8392 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.5791, allocations: 16 kB / 0.8392 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.5795, allocations: 27.92 kB / 0.8392 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.5795, allocations: 52.5 kB / 0.8393 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.5796, allocations: 27.17 kB / 0.8393 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003346/0.5799, allocations: 415 kB / 0.8397 GB, free: 148 kB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5799, allocations: 0 / 0.8397 GB, free: 148 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007378/0.5806, allocations: 367.4 kB / 0.84 GB, free: 15.78 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.001623/0.5823, allocations: 1.966 MB / 0.8419 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.5831, allocations: 0.7713 MB / 0.8427 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5831, allocations: 0 / 0.8427 GB, free: 13.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.5835, allocations: 411.5 kB / 0.8431 GB, free: 12.62 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.585, allocations: 0.5851 MB / 0.8437 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007097/0.5921, allocations: 7.175 MB / 0.8507 GB, free: 4.727 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.5925, allocations: 0.5427 MB / 0.8512 GB, free: 4.156 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007395/0.5933, allocations: 282.2 kB / 0.8515 GB, free: 3.879 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.5937, allocations: 376.4 kB / 0.8518 GB, free: 3.512 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/0.5937, allocations: 0 / 0.8518 GB, free: 3.512 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.635, allocations: 28.68 MB / 0.8798 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.738, allocations: 0 / 0.8798 GB, free: 7.477 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 & /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: 10.458175622858107] Failed to read output from testmodel.py, exit status != 0: 7.833217438310385 7.841812757 7.288122485 Calling exit ...