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.001031/0.001031, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008391/0.008391, allocations: 174.4 kB / 16.27 MB, free: 6.66 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9236/0.9236, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 9.188 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1486, allocations: 82.3 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.4617/0.6103, allocations: 199.2 MB / 0.7826 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009504/0.6198, allocations: 6.38 MB / 0.7889 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.6213, allocations: 31.81 kB / 0.7889 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.6234, allocations: 0.6377 MB / 0.7895 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006803/0.6302, allocations: 2.518 MB / 0.792 GB, free: 11.52 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.001739/0.632, allocations: 0.6329 MB / 0.7926 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004952/0.6369, allocations: 4.835 MB / 0.7973 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.6383, allocations: 0.9086 MB / 0.7982 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.6403, allocations: 1.046 MB / 0.7992 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002277/0.6426, allocations: 1.112 MB / 0.8003 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.6429, allocations: 56 kB / 0.8004 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.6474, allocations: 2.704 MB / 0.803 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005669/0.648, allocations: 442.7 kB / 0.8034 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.6491, allocations: 0.6744 MB / 0.8041 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.6535, allocations: 2.851 MB / 0.8069 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6535, allocations: 0 / 0.8069 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6535, allocations: 0 / 0.8069 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.43e-05/0.6536, allocations: 0 / 0.8069 GB, free: 12.21 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.004059/0.6577, allocations: 1.525 MB / 0.8084 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.6577, allocations: 16.02 kB / 0.8084 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003291/0.658, allocations: 160.6 kB / 0.8085 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.6604, allocations: 350.1 kB / 0.8089 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.6619, allocations: 0.8427 MB / 0.8097 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.662, allocations: 74.02 kB / 0.8098 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.6621, allocations: 111.9 kB / 0.8099 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.6642, allocations: 1.191 MB / 0.811 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.6643, allocations: 3.938 kB / 0.811 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.6644, allocations: 40 kB / 0.8111 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.15e-05/0.6645, allocations: 66.08 kB / 0.8111 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.6665, allocations: 1.242 MB / 0.8123 GB, free: 6.457 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.006181/0.6727, allocations: 5.06 MB / 0.8173 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.6741, allocations: 1.143 MB / 0.8184 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007083/0.6748, allocations: 0.5105 MB / 0.8189 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.6748, allocations: 16.73 kB / 0.8189 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000713/0.6756, allocations: 488.2 kB / 0.8194 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.036e-06/0.6756, allocations: 0 / 0.8194 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.00193/0.6775, allocations: 1.157 MB / 0.8205 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.6776, allocations: 60.06 kB / 0.8206 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.6783, allocations: 0.5745 MB / 0.8211 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-05/0.6783, allocations: 41.7 kB / 0.8212 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.6787, allocations: 459.7 kB / 0.8216 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.6789, allocations: 272 kB / 0.8219 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.679, allocations: 65.67 kB / 0.8219 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6792, allocations: 382.8 kB / 0.8223 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.6797, allocations: 333.8 kB / 0.8226 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.6803, allocations: 454.4 kB / 0.823 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.6814, allocations: 0.8233 MB / 0.8238 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6814, allocations: 4 kB / 0.8239 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001393/0.6828, allocations: 0.9257 MB / 0.8248 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6828, allocations: 12.28 kB / 0.8248 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.6828, allocations: 11.98 kB / 0.8248 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.6829, allocations: 4 kB / 0.8248 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/0.6835, allocations: 151.8 kB / 0.8249 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.6836, allocations: 7.984 kB / 0.8249 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.6846, allocations: 136.5 kB / 0.8251 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.6846, allocations: 28 kB / 0.8251 GB, free: 8.711 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.0004447/0.6851, allocations: 329.5 kB / 0.8254 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.6852, allocations: 83 kB / 0.8255 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.6855, allocations: 111.8 kB / 0.8256 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.6855, allocations: 8 kB / 0.8256 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6855, allocations: 0 / 0.8256 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.6867, allocations: 1.085 MB / 0.8267 GB, free: 7.004 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.003206/0.6899, allocations: 2.308 MB / 0.8289 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.69, allocations: 32 / 0.8289 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00086/0.6908, allocations: 179.8 kB / 0.8291 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.6908, allocations: 8 kB / 0.8291 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.6909, allocations: 19.98 kB / 0.8291 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.6909, allocations: 7.938 kB / 0.8291 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6909, allocations: 0 / 0.8291 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.6929, allocations: 1.491 MB / 0.8306 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.6933, allocations: 252 kB / 0.8308 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.6934, allocations: 23.98 kB / 0.8308 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/0.6943, allocations: 87.86 kB / 0.8309 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.6944, allocations: 44.59 kB / 0.831 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.6945, allocations: 27.98 kB / 0.831 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004915/0.695, allocations: 419 kB / 0.8314 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.695, allocations: 0 / 0.8314 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008913/0.6959, allocations: 363 kB / 0.8317 GB, free: 1.676 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.002342/0.6982, allocations: 2.106 MB / 0.8338 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.6995, allocations: 0.7942 MB / 0.8346 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6995, allocations: 0 / 0.8346 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.7, allocations: 428.2 kB / 0.835 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/0.7029, allocations: 0.5718 MB / 0.8355 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.7136, allocations: 7.985 MB / 0.8433 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/0.7144, allocations: 1.14 MB / 0.8444 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001072/0.7155, allocations: 271.2 kB / 0.8447 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.7161, allocations: 379.3 kB / 0.8451 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of SimCode: time 9.01e-07/0.7161, allocations: 0 / 0.8451 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4145/1.131, allocations: 24.61 MB / 0.8691 GB, free: 215.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/1.131, allocations: 194.2 kB / 0.8693 GB, free: 215.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.626, allocations: 0 / 0.8693 GB, free: 215.7 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)