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.001388/0.001388, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001753/0.001754, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.835/1.835, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.523/1.523, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006376/0.0006377, allocations: 9.594 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2623, allocations: 82.31 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8611/1.124, allocations: 239.4 MB / 0.821 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03954/1.163, allocations: 17.11 MB / 0.8377 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005097/1.168, allocations: 67.56 kB / 0.8378 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008516/1.177, allocations: 1.645 MB / 0.8394 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02395/1.201, allocations: 4.932 MB / 0.8442 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01117/1.212, allocations: 2.194 MB / 0.8464 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0126/1.225, allocations: 4.392 MB / 0.8507 GB, free: 14.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/1.23, allocations: 1.945 MB / 0.8525 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008558/1.239, allocations: 2.278 MB / 0.8548 GB, free: 10.34 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005343/1.244, allocations: 1.721 MB / 0.8565 GB, free: 8.613 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001469/1.246, allocations: 156 kB / 0.8566 GB, free: 8.461 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/1.258, allocations: 2.426 MB / 0.859 GB, free: 6.031 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003094/1.261, allocations: 1.044 MB / 0.86 GB, free: 4.984 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002768/1.264, allocations: 0.6758 MB / 0.8607 GB, free: 4.301 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/1.275, allocations: 4.069 MB / 0.8646 GB, free: 228 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.275, allocations: 3.938 kB / 0.8646 GB, free: 224 kB / 0.67 GB Notification: Performance of FrontEnd: time 5.531e-06/1.275, allocations: 3.984 kB / 0.8646 GB, free: 220 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002065/1.275, allocations: 0 / 0.8646 GB, free: 220 kB / 0.67 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.5929/1.868, allocations: 3.453 MB / 0.868 GB, free: 135.7 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/1.868, allocations: 8.469 kB / 0.868 GB, free: 135.7 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001564/1.87, allocations: 373 kB / 0.8684 GB, free: 135.6 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/1.88, allocations: 0.9304 MB / 0.8693 GB, free: 135.5 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/1.887, allocations: 1.774 MB / 0.871 GB, free: 135 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/1.887, allocations: 194.3 kB / 0.8712 GB, free: 135 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009344/1.888, allocations: 264.6 kB / 0.8714 GB, free: 135 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008646/1.897, allocations: 3.284 MB / 0.8747 GB, free: 134.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-05/1.897, allocations: 9.094 kB / 0.8747 GB, free: 134.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004027/1.898, allocations: 112.6 kB / 0.8748 GB, free: 134.7 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/1.898, allocations: 136.9 kB / 0.8749 GB, free: 134.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009327/1.907, allocations: 3.468 MB / 0.8783 GB, free: 134.7 MB / 0.67 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.0294/1.937, allocations: 12.07 MB / 0.8901 GB, free: 128.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009044/1.946, allocations: 3.463 MB / 0.8935 GB, free: 128.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/1.948, allocations: 1.501 MB / 0.8949 GB, free: 126.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.182e-05/1.948, allocations: 78.56 kB / 0.895 GB, free: 126.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=278): time 6.722e-06/1.948, allocations: 0.6875 kB / 0.895 GB, free: 126.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=278): time 0.01312/1.961, allocations: 3.841 MB / 0.8988 GB, free: 126.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.779e-05/1.961, allocations: 81.02 kB / 0.8988 GB, free: 126.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003727/1.965, allocations: 1.369 MB / 0.9002 GB, free: 126 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006667/1.966, allocations: 77.39 kB / 0.9002 GB, free: 126 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.967, allocations: 0.9848 MB / 0.9012 GB, free: 125.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.968, allocations: 0.9419 MB / 0.9021 GB, free: 125 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/1.969, allocations: 51.03 kB / 0.9022 GB, free: 125 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002992/1.969, allocations: 402.7 kB / 0.9026 GB, free: 124.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/1.972, allocations: 1.077 MB / 0.9036 GB, free: 124.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/1.976, allocations: 1.354 MB / 0.9049 GB, free: 124.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/1.979, allocations: 1.279 MB / 0.9062 GB, free: 124.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/1.979, allocations: 1.344 kB / 0.9062 GB, free: 124.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008582/1.988, allocations: 2.942 MB / 0.9091 GB, free: 124.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/1.988, allocations: 6.391 kB / 0.9091 GB, free: 124.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/1.988, allocations: 10.91 kB / 0.9091 GB, free: 124.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.123e-05/1.988, allocations: 15.19 kB / 0.9091 GB, free: 124.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.991, allocations: 0.505 MB / 0.9096 GB, free: 124.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001008/1.991, allocations: 22.88 kB / 0.9096 GB, free: 124.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/1.996, allocations: 335.3 kB / 0.9099 GB, free: 124.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/1.997, allocations: 81.77 kB / 0.91 GB, free: 124.1 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002487/1.999, allocations: 0.6453 MB / 0.9106 GB, free: 124 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/2, allocations: 230.6 kB / 0.9108 GB, free: 123.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009354/2.01, allocations: 3.084 MB / 0.9139 GB, free: 123.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.633e-05/2.01, allocations: 32.14 kB / 0.9139 GB, free: 123.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.515e-05/2.01, allocations: 0 / 0.9139 GB, free: 123.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006175/2.016, allocations: 2.62 MB / 0.9164 GB, free: 123.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/2.032, allocations: 6.174 MB / 0.9225 GB, free: 122.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/2.032, allocations: 1.219 kB / 0.9225 GB, free: 122.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00359/2.036, allocations: 0.5549 MB / 0.923 GB, free: 122.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.794e-05/2.036, allocations: 7.906 kB / 0.923 GB, free: 122.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00031/2.037, allocations: 64.92 kB / 0.9231 GB, free: 122.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.92e-05/2.037, allocations: 7.938 kB / 0.9231 GB, free: 122.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.037, allocations: 1.625 kB / 0.9231 GB, free: 122.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/2.047, allocations: 4.761 MB / 0.9277 GB, free: 122.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/2.05, allocations: 0.6062 MB / 0.9283 GB, free: 121.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/2.051, allocations: 49.44 kB / 0.9284 GB, free: 121.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004426/2.056, allocations: 228.4 kB / 0.9286 GB, free: 121.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005728/2.056, allocations: 166.4 kB / 0.9288 GB, free: 121.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003707/2.057, allocations: 81.47 kB / 0.9288 GB, free: 121.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002428/2.059, allocations: 0.933 MB / 0.9298 GB, free: 120.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.6e-07/2.059, allocations: 0 / 0.9298 GB, free: 120.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004335/2.064, allocations: 0.9784 MB / 0.9307 GB, free: 119.6 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/2.075, allocations: 5.581 MB / 0.9362 GB, free: 115.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005969/2.081, allocations: 2.742 MB / 0.9388 GB, free: 113.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.081, allocations: 2.156 kB / 0.9388 GB, free: 113.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002823/2.084, allocations: 1.497 MB / 0.9403 GB, free: 112.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008997/2.093, allocations: 1.25 MB / 0.9415 GB, free: 111.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/2.108, allocations: 11.74 MB / 0.953 GB, free: 100.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/2.11, allocations: 1.955 MB / 0.9549 GB, free: 98.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003789/2.113, allocations: 0.8319 MB / 0.9557 GB, free: 98.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/2.115, allocations: 1.092 MB / 0.9568 GB, free: 97.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.292e-06/2.115, allocations: 0 / 0.9568 GB, free: 97.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.943/6.059, allocations: 66.66 MB / 1.022 GB, free: 31.93 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/6.059, allocations: 188.5 kB / 1.022 GB, free: 31.68 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.433/11.49, allocations: 7.938 kB / 1.022 GB, free: 31.67 MB / 0.67 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/linux/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) Environment - environmentSimulation: