Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.007365/0.007365, allocations: 101.8 kB / 15.73 MB, free: 6 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.001567/0.001567, allocations: 193.5 kB / 16.67 MB, free: 5.926 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8049/0.8049, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.69 kB / 0.5851 GB, free: 22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 80.92 MB / 0.6641 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7581/0.9284, allocations: 295.1 MB / 0.9523 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02897/0.9574, allocations: 16.99 MB / 0.9689 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004912/0.9624, allocations: 79.62 kB / 0.969 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005664/0.9681, allocations: 1.888 MB / 0.9708 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01814/0.9863, allocations: 6.425 MB / 0.9771 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009425/0.9957, allocations: 2.939 MB / 0.98 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01158/1.007, allocations: 7.705 MB / 0.9875 GB, free: 3.887 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005344/1.013, allocations: 2.609 MB / 0.9901 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009242/1.022, allocations: 2.819 MB / 0.9928 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007508/1.03, allocations: 2.697 MB / 0.9954 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001723/1.031, allocations: 328 kB / 0.9958 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/1.046, allocations: 6.165 MB / 1.002 GB, free: 5.207 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002844/1.049, allocations: 1.336 MB / 1.003 GB, free: 3.867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.00548/1.054, allocations: 1.883 MB / 1.005 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/1.072, allocations: 6.892 MB / 1.012 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.072, allocations: 0 / 1.012 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.863e-06/1.072, allocations: 0 / 1.012 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000194/1.072, allocations: 0 / 1.012 GB, free: 11.07 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01278/1.085, allocations: 4.127 MB / 1.016 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.085, allocations: 17.05 kB / 1.016 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009797/1.086, allocations: 371 kB / 1.016 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00677/1.093, allocations: 0.9094 MB / 1.017 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005432/1.099, allocations: 1.92 MB / 1.019 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/1.099, allocations: 193.1 kB / 1.019 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009152/1.1, allocations: 263.9 kB / 1.019 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008827/1.109, allocations: 3.327 MB / 1.022 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001468/1.109, allocations: 11.91 kB / 1.023 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007524/1.11, allocations: 108 kB / 1.023 GB, free: 15.6 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/1.11, allocations: 137 kB / 1.023 GB, free: 15.46 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008254/1.118, allocations: 3.49 MB / 1.026 GB, free: 11.96 MB / 0.795 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.02398/1.142, allocations: 12.12 MB / 1.038 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005747/1.148, allocations: 3.493 MB / 1.041 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00354/1.151, allocations: 1.838 MB / 1.043 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/1.153, allocations: 1.493 MB / 1.045 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.943e-05/1.153, allocations: 72.62 kB / 1.045 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=278): time 1.11e-05/1.153, allocations: 4 kB / 1.045 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=278): time 0.008414/1.162, allocations: 3.877 MB / 1.049 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.162, allocations: 81.59 kB / 1.049 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/1.164, allocations: 1.376 MB / 1.05 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0004451/1.165, allocations: 77.7 kB / 1.05 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008303/1.166, allocations: 0.9843 MB / 1.051 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001327/1.167, allocations: 0.9432 MB / 1.052 GB, free: 180 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/1.168, allocations: 416.9 kB / 1.052 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.168, allocations: 301.1 kB / 1.053 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/1.17, allocations: 1.09 MB / 1.054 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/1.173, allocations: 1.377 MB / 1.055 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004592/1.177, allocations: 2.642 MB / 1.058 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/1.177, allocations: 4 kB / 1.058 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00604/1.183, allocations: 2.97 MB / 1.06 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/1.184, allocations: 8 kB / 1.06 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.184, allocations: 8.031 kB / 1.06 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.805e-05/1.184, allocations: 12 kB / 1.06 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.186, allocations: 0.511 MB / 1.061 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.935e-05/1.186, allocations: 19.94 kB / 1.061 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/1.189, allocations: 183.9 kB / 1.061 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/1.189, allocations: 79.98 kB / 1.061 GB, free: 6.344 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001784/1.191, allocations: 0.6534 MB / 1.062 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/1.192, allocations: 233.2 kB / 1.062 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006336/1.198, allocations: 3.096 MB / 1.065 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.939e-05/1.198, allocations: 28 kB / 1.065 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.198, allocations: 0 / 1.065 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3602/1.559, allocations: 2.644 MB / 1.068 GB, free: 323.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.57, allocations: 6.196 MB / 1.074 GB, free: 322.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/1.57, allocations: 2.172 kB / 1.074 GB, free: 322.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002681/1.573, allocations: 0.5478 MB / 1.074 GB, free: 322 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.15e-05/1.573, allocations: 10.48 kB / 1.074 GB, free: 322 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/1.573, allocations: 61.42 kB / 1.074 GB, free: 322 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.049e-05/1.573, allocations: 12.28 kB / 1.074 GB, free: 322 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.573, allocations: 0 / 1.074 GB, free: 322 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008396/1.582, allocations: 4.803 MB / 1.079 GB, free: 320.1 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/1.583, allocations: 0.6095 MB / 1.08 GB, free: 319.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/1.584, allocations: 57.41 kB / 1.08 GB, free: 319.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.585, allocations: 61.86 kB / 1.08 GB, free: 319.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003575/1.586, allocations: 165.4 kB / 1.08 GB, free: 319.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.586, allocations: 83.11 kB / 1.08 GB, free: 319.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001428/1.587, allocations: 0.9417 MB / 1.081 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/1.587, allocations: 1.031 kB / 1.081 GB, free: 319.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002776/1.59, allocations: 0.9872 MB / 1.082 GB, free: 319.2 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.007945/1.598, allocations: 5.623 MB / 1.087 GB, free: 316.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00465/1.603, allocations: 2.776 MB / 1.09 GB, free: 315.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.603, allocations: 1.406 kB / 1.09 GB, free: 315.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/1.605, allocations: 1.514 MB / 1.092 GB, free: 315 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/1.611, allocations: 1.35 MB / 1.093 GB, free: 314.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02654/1.638, allocations: 19.39 MB / 1.112 GB, free: 305.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/1.639, allocations: 1.892 MB / 1.114 GB, free: 303.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002826/1.642, allocations: 0.8338 MB / 1.115 GB, free: 302.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/1.643, allocations: 1.093 MB / 1.116 GB, free: 301.6 MB / 0.8262 GB Notification: Performance of SimCode: time 1.473e-06/1.643, allocations: 1.422 kB / 1.116 GB, free: 301.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/1.773, allocations: 69.55 MB / 1.184 GB, free: 232.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/14.33, allocations: 14.92 kB / 1.184 GB, free: 232.6 MB / 0.8262 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)