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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 195.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.093/1.093, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7543/0.7543, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 65.44 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1161, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.3432/0.4593, allocations: 201.5 MB / 0.7808 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00736/0.4667, allocations: 6.323 MB / 0.787 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.4671, allocations: 27.88 kB / 0.787 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.4684, allocations: 0.6611 MB / 0.7877 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.4723, allocations: 2.522 MB / 0.7901 GB, free: 10.09 MB / 0.6075 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.001066/0.4734, allocations: 0.6507 MB / 0.7908 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002486/0.4759, allocations: 3.272 MB / 0.794 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009709/0.4769, allocations: 1.098 MB / 0.795 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.4781, allocations: 1.269 MB / 0.7963 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.4796, allocations: 1.171 MB / 0.7974 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.4797, allocations: 128 kB / 0.7975 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.4824, allocations: 2.47 MB / 0.7999 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.4828, allocations: 0.5143 MB / 0.8004 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.4833, allocations: 0.743 MB / 0.8012 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.4858, allocations: 2.941 MB / 0.804 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.4858, allocations: 3.938 kB / 0.804 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.61e-07/0.4858, allocations: 0 / 0.804 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.4858, allocations: 0 / 0.804 GB, free: 11.79 MB / 0.6231 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.003021/0.4888, allocations: 1.769 MB / 0.8058 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.4889, allocations: 12.02 kB / 0.8058 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.489, allocations: 164.6 kB / 0.8059 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.4909, allocations: 346.1 kB / 0.8063 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.492, allocations: 0.8459 MB / 0.8071 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.706e-05/0.492, allocations: 74.02 kB / 0.8072 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.4922, allocations: 107.9 kB / 0.8073 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.4937, allocations: 1.187 MB / 0.8084 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.4938, allocations: 0 / 0.8084 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.4939, allocations: 44 kB / 0.8085 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.4939, allocations: 66.02 kB / 0.8085 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.4955, allocations: 1.238 MB / 0.8097 GB, free: 5.809 MB / 0.6231 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.004915/0.5004, allocations: 5.06 MB / 0.8147 GB, free: 300 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.5016, allocations: 1.135 MB / 0.8158 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.5022, allocations: 0.5089 MB / 0.8163 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/0.5023, allocations: 16.8 kB / 0.8163 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/0.5029, allocations: 496.2 kB / 0.8168 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 1.723e-06/0.5029, allocations: 0 / 0.8168 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001561/0.5045, allocations: 1.153 MB / 0.8179 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.5045, allocations: 64.06 kB / 0.818 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.505, allocations: 0.5783 MB / 0.8185 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.5051, allocations: 37.7 kB / 0.8186 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.5053, allocations: 467.6 kB / 0.819 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.5055, allocations: 260.1 kB / 0.8193 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.5057, allocations: 138.6 kB / 0.8194 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5058, allocations: 382.8 kB / 0.8198 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.5063, allocations: 325.8 kB / 0.8201 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.5067, allocations: 462.5 kB / 0.8205 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/0.5077, allocations: 0.8272 MB / 0.8213 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5077, allocations: 0 / 0.8213 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001116/0.5088, allocations: 0.9257 MB / 0.8222 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5088, allocations: 13.97 kB / 0.8222 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5088, allocations: 352 / 0.8222 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.5088, allocations: 15.94 kB / 0.8223 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.5094, allocations: 147.8 kB / 0.8224 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.5094, allocations: 15.92 kB / 0.8224 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.5101, allocations: 138 kB / 0.8225 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.5102, allocations: 27.94 kB / 0.8226 GB, free: 7.992 MB / 0.6387 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.0003288/0.5105, allocations: 335.1 kB / 0.8229 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.5106, allocations: 83 kB / 0.823 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.5108, allocations: 107.7 kB / 0.8231 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5108, allocations: 12 kB / 0.8231 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5108, allocations: 0 / 0.8231 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.5119, allocations: 1.09 MB / 0.8241 GB, free: 6.273 MB / 0.6387 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.00255/0.5144, allocations: 2.297 MB / 0.8264 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5145, allocations: 0 / 0.8264 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.5152, allocations: 187.8 kB / 0.8266 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5152, allocations: 0 / 0.8266 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.5152, allocations: 20 kB / 0.8266 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5153, allocations: 4 kB / 0.8266 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5153, allocations: 0 / 0.8266 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.5169, allocations: 1.483 MB / 0.828 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.5172, allocations: 261.1 kB / 0.8283 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.994e-05/0.5173, allocations: 15.94 kB / 0.8283 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.5179, allocations: 103.8 kB / 0.8284 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.518, allocations: 40.59 kB / 0.8284 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.5181, allocations: 27.98 kB / 0.8285 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003677/0.5184, allocations: 415 kB / 0.8289 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5185, allocations: 0 / 0.8289 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006133/0.5191, allocations: 363.1 kB / 0.8292 GB, free: 0.9688 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.001909/0.521, allocations: 2.11 MB / 0.8313 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.5224, allocations: 1.036 MB / 0.8323 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.5224, allocations: 3.938 kB / 0.8323 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.5229, allocations: 431.5 kB / 0.8327 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.5249, allocations: 0.5898 MB / 0.8333 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008131/0.5331, allocations: 7.862 MB / 0.8409 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.5337, allocations: 1.136 MB / 0.8421 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007635/0.5344, allocations: 275.1 kB / 0.8423 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004451/0.5349, allocations: 379.3 kB / 0.8427 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.5349, allocations: 0 / 0.8427 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2117/0.7466, allocations: 25.61 MB / 0.8677 GB, free: 221.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001024/0.7467, allocations: 188.5 kB / 0.8679 GB, free: 221.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.685, allocations: 3.469 kB / 0.8679 GB, free: 221.5 MB / 0.67 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)