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.001779/0.001779, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 196.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.229/2.229, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.908/0.908, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.22 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1447, allocations: 80.92 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4141/0.5588, allocations: 204.1 MB / 0.7838 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009453/0.5682, allocations: 6.363 MB / 0.79 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.5693, allocations: 35.81 kB / 0.7901 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.5711, allocations: 0.7265 MB / 0.7908 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.5767, allocations: 2.678 MB / 0.7934 GB, free: 6.844 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.001554/0.5783, allocations: 0.7035 MB / 0.7941 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003392/0.5817, allocations: 3.275 MB / 0.7973 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.5831, allocations: 1.147 MB / 0.7984 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001868/0.585, allocations: 1.246 MB / 0.7996 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.587, allocations: 1.093 MB / 0.8007 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.5873, allocations: 128 kB / 0.8008 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.5911, allocations: 2.358 MB / 0.8031 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005346/0.5916, allocations: 0.5182 MB / 0.8036 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009388/0.5926, allocations: 0.7391 MB / 0.8043 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003525/0.5961, allocations: 2.778 MB / 0.807 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5961, allocations: 0 / 0.807 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5961, allocations: 0 / 0.807 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.553e-05/0.5962, allocations: 0 / 0.807 GB, free: 8.82 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.004101/0.6003, allocations: 1.773 MB / 0.8088 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.6003, allocations: 12.03 kB / 0.8088 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.6006, allocations: 156.6 kB / 0.8089 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.6032, allocations: 354.1 kB / 0.8093 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.6046, allocations: 0.8389 MB / 0.8101 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.6047, allocations: 78 kB / 0.8102 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.6049, allocations: 107.9 kB / 0.8103 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.6068, allocations: 1.187 MB / 0.8114 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.6068, allocations: 0 / 0.8114 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6069, allocations: 43.98 kB / 0.8115 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-05/0.607, allocations: 62.08 kB / 0.8115 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.6089, allocations: 1.249 MB / 0.8128 GB, free: 2.824 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.006228/0.6151, allocations: 5.114 MB / 0.8177 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.6166, allocations: 1.146 MB / 0.8189 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.6173, allocations: 0.505 MB / 0.8194 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.6174, allocations: 16.8 kB / 0.8194 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007071/0.6181, allocations: 488.2 kB / 0.8198 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.104e-06/0.6181, allocations: 0 / 0.8198 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.001915/0.62, allocations: 1.157 MB / 0.821 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.6201, allocations: 64 kB / 0.821 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.6207, allocations: 0.5783 MB / 0.8216 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.6208, allocations: 41.7 kB / 0.8216 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.6211, allocations: 459.7 kB / 0.8221 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.6213, allocations: 268.1 kB / 0.8223 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.6215, allocations: 134.6 kB / 0.8225 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6217, allocations: 386.8 kB / 0.8228 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.6222, allocations: 325.8 kB / 0.8231 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/0.6228, allocations: 462.4 kB / 0.8236 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.6239, allocations: 0.8233 MB / 0.8244 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6239, allocations: 0 / 0.8244 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001362/0.6253, allocations: 0.9328 MB / 0.8253 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6253, allocations: 13.81 kB / 0.8253 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.6253, allocations: 352 / 0.8253 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6253, allocations: 12 kB / 0.8253 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.626, allocations: 155.8 kB / 0.8255 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.626, allocations: 4 kB / 0.8255 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.6268, allocations: 63.28 kB / 0.8255 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.6268, allocations: 27.98 kB / 0.8256 GB, free: 5.023 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.0003966/0.6272, allocations: 335.1 kB / 0.8259 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.6274, allocations: 86.94 kB / 0.826 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.6276, allocations: 107.8 kB / 0.8261 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6276, allocations: 12 kB / 0.8261 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.6276, allocations: 0 / 0.8261 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.6288, allocations: 1.085 MB / 0.8271 GB, free: 3.305 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.003003/0.6319, allocations: 2.305 MB / 0.8294 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6319, allocations: 0 / 0.8294 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.6327, allocations: 179.8 kB / 0.8296 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.6328, allocations: 4 kB / 0.8296 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.6328, allocations: 16 kB / 0.8296 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.6328, allocations: 4 kB / 0.8296 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6328, allocations: 0 / 0.8296 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.6348, allocations: 1.487 MB / 0.831 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.6351, allocations: 256 kB / 0.8313 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.6352, allocations: 16 kB / 0.8313 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.6359, allocations: 22.22 kB / 0.8313 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/0.636, allocations: 44.59 kB / 0.8314 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.636, allocations: 27.98 kB / 0.8314 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004572/0.6365, allocations: 415 kB / 0.8318 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.713e-06/0.6365, allocations: 0 / 0.8318 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007713/0.6373, allocations: 371 kB / 0.8321 GB, free: 14.07 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.002989/0.6403, allocations: 2.107 MB / 0.8342 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.6434, allocations: 1.032 MB / 0.8352 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6434, allocations: 0 / 0.8352 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009419/0.6444, allocations: 428.2 kB / 0.8356 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/0.6486, allocations: 0.5984 MB / 0.8362 GB, free: 9.926 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.6642, allocations: 7.46 MB / 0.8435 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.6654, allocations: 1.136 MB / 0.8446 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001686/0.6671, allocations: 271.2 kB / 0.8448 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008223/0.668, allocations: 379.3 kB / 0.8452 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.668, allocations: 0 / 0.8452 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3617/1.03, allocations: 25.78 MB / 0.8704 GB, free: 221 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.49, allocations: 12.5 kB / 0.8704 GB, free: 221 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 & 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)