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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001138/0.001138, allocations: 193.8 kB / 16.14 MB, free: 6.695 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8362/0.8362, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 55.94 kB / 0.5048 GB, free: 5.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1324, allocations: 80.93 MB / 0.5838 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.3992/0.5316, allocations: 201.9 MB / 0.781 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009576/0.5412, allocations: 6.433 MB / 0.7873 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.5428, allocations: 31.81 kB / 0.7873 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.5449, allocations: 0.6454 MB / 0.7879 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006249/0.5512, allocations: 2.521 MB / 0.7904 GB, free: 9.797 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.00164/0.5528, allocations: 0.6327 MB / 0.791 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005377/0.5582, allocations: 4.831 MB / 0.7957 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.5597, allocations: 0.9592 MB / 0.7967 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.562, allocations: 1.097 MB / 0.7977 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/0.5645, allocations: 1.153 MB / 0.7989 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.5648, allocations: 68 kB / 0.7989 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.5692, allocations: 2.72 MB / 0.8016 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005965/0.5698, allocations: 470.6 kB / 0.802 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.5709, allocations: 0.6844 MB / 0.8027 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.5752, allocations: 2.894 MB / 0.8055 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5752, allocations: 0 / 0.8055 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5752, allocations: 0 / 0.8055 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.827e-05/0.5752, allocations: 0 / 0.8055 GB, free: 10.26 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.004388/0.5796, allocations: 1.777 MB / 0.8073 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.5797, allocations: 8.031 kB / 0.8073 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/0.5799, allocations: 164.6 kB / 0.8074 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.5822, allocations: 346.1 kB / 0.8078 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.5835, allocations: 0.8389 MB / 0.8086 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.5836, allocations: 78.02 kB / 0.8087 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.5838, allocations: 103.9 kB / 0.8088 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.5857, allocations: 1.191 MB / 0.8099 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.5857, allocations: 0 / 0.8099 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.5858, allocations: 41.5 kB / 0.81 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/0.5859, allocations: 62.08 kB / 0.81 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.5877, allocations: 1.246 MB / 0.8112 GB, free: 4.27 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.005883/0.5936, allocations: 5.052 MB / 0.8162 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.595, allocations: 1.151 MB / 0.8173 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.5957, allocations: 0.5065 MB / 0.8178 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.456e-05/0.5957, allocations: 16.8 kB / 0.8178 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000698/0.5964, allocations: 484.2 kB / 0.8183 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.024e-06/0.5964, allocations: 0 / 0.8183 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001818/0.5983, allocations: 1.157 MB / 0.8194 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.5983, allocations: 64.05 kB / 0.8195 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.599, allocations: 0.5783 MB / 0.82 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.599, allocations: 41.7 kB / 0.8201 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/0.5993, allocations: 459.7 kB / 0.8205 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.5996, allocations: 268.1 kB / 0.8208 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.5998, allocations: 130.6 kB / 0.8209 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5999, allocations: 386.8 kB / 0.8212 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.6004, allocations: 325.8 kB / 0.8216 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.601, allocations: 470.3 kB / 0.822 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.6021, allocations: 0.8233 MB / 0.8228 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6021, allocations: 0 / 0.8228 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001326/0.6034, allocations: 0.9227 MB / 0.8237 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6035, allocations: 11.94 kB / 0.8237 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6035, allocations: 352 / 0.8237 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.6035, allocations: 12 kB / 0.8237 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.6042, allocations: 155.7 kB / 0.8239 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.6042, allocations: 8 kB / 0.8239 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.6051, allocations: 138.1 kB / 0.824 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.6051, allocations: 28 kB / 0.824 GB, free: 6.461 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.0003901/0.6055, allocations: 333.5 kB / 0.8244 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6057, allocations: 90.42 kB / 0.8245 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.6059, allocations: 103.8 kB / 0.8246 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.6059, allocations: 12 kB / 0.8246 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.6059, allocations: 0 / 0.8246 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/0.6071, allocations: 1.089 MB / 0.8256 GB, free: 4.75 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.003054/0.6101, allocations: 2.297 MB / 0.8279 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6101, allocations: 7.984 kB / 0.8279 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.611, allocations: 183.8 kB / 0.8281 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.611, allocations: 0 / 0.8281 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.611, allocations: 16 kB / 0.8281 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.6111, allocations: 4 kB / 0.8281 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6111, allocations: 0 / 0.8281 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.613, allocations: 1.483 MB / 0.8295 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.6134, allocations: 259.9 kB / 0.8298 GB, free: 388 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.6135, allocations: 16 kB / 0.8298 GB, free: 372 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/0.6143, allocations: 103.7 kB / 0.8299 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.6144, allocations: 44.59 kB / 0.8299 GB, free: 224 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.6144, allocations: 31.92 kB / 0.83 GB, free: 192 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004476/0.6149, allocations: 411 kB / 0.8303 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6149, allocations: 0 / 0.8303 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008089/0.6157, allocations: 363.1 kB / 0.8307 GB, free: 15.43 MB / 0.6544 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.002297/0.618, allocations: 2.111 MB / 0.8328 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001113/0.6191, allocations: 0.7981 MB / 0.8335 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6192, allocations: 4 kB / 0.8335 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.6197, allocations: 427.5 kB / 0.8339 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.6221, allocations: 0.5613 MB / 0.8345 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/0.6319, allocations: 7.868 MB / 0.8422 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007363/0.6327, allocations: 1.14 MB / 0.8433 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009208/0.6336, allocations: 267.2 kB / 0.8435 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.6341, allocations: 375.3 kB / 0.8439 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of SimCode: time 1.923e-06/0.6341, allocations: 0 / 0.8439 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2488/0.8829, allocations: 24.82 MB / 0.8681 GB, free: 218.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/0.8831, allocations: 199.5 kB / 0.8683 GB, free: 218.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/3.038, allocations: 0 / 0.8683 GB, free: 218.6 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)