Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.005906/0.005906, allocations: 98 kB / 15.73 MB, free: 6.055 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.001516/0.001516, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.472/2.472, allocations: 482.6 MB / 0.755 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.86 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2649, allocations: 162.3 MB / 1.242 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.207/0.472, allocations: 218.6 MB / 1.455 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02394/0.4959, allocations: 20.44 MB / 1.475 GB, free: 8.965 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.4978, allocations: 59.69 kB / 1.475 GB, free: 8.906 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.5003, allocations: 1.251 MB / 1.477 GB, free: 7.648 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008451/0.5087, allocations: 4.079 MB / 1.481 GB, free: 3.555 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.512, allocations: 1.542 MB / 1.482 GB, free: 2.016 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.007193/0.5192, allocations: 6.978 MB / 1.489 GB, free: 11.01 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.5219, allocations: 2.36 MB / 1.491 GB, free: 8.602 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/0.5253, allocations: 2.457 MB / 1.494 GB, free: 6.137 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.5289, allocations: 2.421 MB / 1.496 GB, free: 3.715 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004792/0.5293, allocations: 348 kB / 1.496 GB, free: 3.375 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006029/0.5354, allocations: 3.465 MB / 1.5 GB, free: 15.9 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.5366, allocations: 1.391 MB / 1.501 GB, free: 14.51 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001971/0.5386, allocations: 1.836 MB / 1.503 GB, free: 12.66 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006973/0.5456, allocations: 5.762 MB / 1.508 GB, free: 6.883 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.5456, allocations: 4 kB / 1.508 GB, free: 6.879 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5456, allocations: 0 / 1.508 GB, free: 6.879 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.008e-05/0.5457, allocations: 0 / 1.508 GB, free: 6.879 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.008151/0.5538, allocations: 3.909 MB / 1.512 GB, free: 2.898 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5539, allocations: 12.03 kB / 1.512 GB, free: 2.887 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000479/0.5544, allocations: 413.4 kB / 1.513 GB, free: 2.473 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004301/0.5587, allocations: 0.8409 MB / 1.513 GB, free: 1.629 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.5616, allocations: 1.842 MB / 1.515 GB, free: 15.72 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.5617, allocations: 205.3 kB / 1.515 GB, free: 15.52 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003891/0.5621, allocations: 279.9 kB / 1.516 GB, free: 15.25 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005191/0.5673, allocations: 3.491 MB / 1.519 GB, free: 11.72 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/0.5674, allocations: 4 kB / 1.519 GB, free: 11.72 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.5676, allocations: 119.9 kB / 1.519 GB, free: 11.6 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/0.5678, allocations: 185.9 kB / 1.519 GB, free: 11.42 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007099/0.5749, allocations: 5.031 MB / 1.524 GB, free: 6.375 MB / 1.248 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.01493/0.5899, allocations: 11.55 MB / 1.536 GB, free: 10.11 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005864/0.5957, allocations: 4.877 MB / 1.54 GB, free: 5.199 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00339/0.5991, allocations: 2.531 MB / 1.543 GB, free: 2.66 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.6002, allocations: 0.8604 MB / 1.544 GB, free: 1.633 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.145e-05/0.6002, allocations: 73.7 kB / 1.544 GB, free: 1.551 MB / 1.264 GB Notification: Performance of pre-optimization done (n=399): time 4.939e-06/0.6002, allocations: 0 / 1.544 GB, free: 1.551 MB / 1.264 GB Notification: Performance of matching and sorting (n=399): time 0.4883/1.089, allocations: 6.029 MB / 1.55 GB, free: 298.8 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/1.089, allocations: 94.52 kB / 1.55 GB, free: 298.7 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/1.091, allocations: 1.275 MB / 1.551 GB, free: 298.2 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/1.091, allocations: 92.7 kB / 1.551 GB, free: 298.1 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/1.091, allocations: 0.9593 MB / 1.552 GB, free: 297.5 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007533/1.092, allocations: 1.416 MB / 1.553 GB, free: 296.6 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008403/1.093, allocations: 0.6405 MB / 1.554 GB, free: 296.3 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 3.317e-05/1.093, allocations: 302.2 kB / 1.554 GB, free: 296 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/1.095, allocations: 1.753 MB / 1.556 GB, free: 295.4 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/1.098, allocations: 2.087 MB / 1.558 GB, free: 294.6 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/1.103, allocations: 4.069 MB / 1.562 GB, free: 292.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.103, allocations: 1.25 kB / 1.562 GB, free: 292.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.006258/1.109, allocations: 4.603 MB / 1.567 GB, free: 291.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.109, allocations: 11.39 kB / 1.567 GB, free: 291.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.109, allocations: 4.281 kB / 1.567 GB, free: 291.1 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/1.109, allocations: 18.53 kB / 1.567 GB, free: 291.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/1.112, allocations: 0.7754 MB / 1.567 GB, free: 291 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/1.112, allocations: 23.52 kB / 1.567 GB, free: 291 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/1.114, allocations: 309.7 kB / 1.568 GB, free: 290.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/1.115, allocations: 128.5 kB / 1.568 GB, free: 290.8 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (493): * Single equations (assignments): 493 * 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.001042/1.116, allocations: 0.7427 MB / 1.568 GB, free: 290.4 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/1.116, allocations: 254.5 kB / 1.569 GB, free: 290.2 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006343/1.122, allocations: 4.632 MB / 1.573 GB, free: 288.4 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.122, allocations: 39.56 kB / 1.573 GB, free: 288.4 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/1.122, allocations: 4.844 kB / 1.573 GB, free: 288.4 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004534/1.127, allocations: 3.961 MB / 1.577 GB, free: 286.8 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008998/1.136, allocations: 8.266 MB / 1.585 GB, free: 283.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/1.136, allocations: 4 kB / 1.585 GB, free: 283.4 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.138, allocations: 0.6654 MB / 1.586 GB, free: 282.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/1.139, allocations: 132.1 kB / 1.586 GB, free: 282.7 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/1.139, allocations: 89.67 kB / 1.586 GB, free: 282.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/1.141, allocations: 5.047 MB / 1.591 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.141, allocations: 0 / 1.591 GB, free: 277.4 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006825/1.148, allocations: 6.831 MB / 1.598 GB, free: 270.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008938/1.149, allocations: 0.7758 MB / 1.598 GB, free: 270 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/1.149, allocations: 68 kB / 1.599 GB, free: 269.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.151, allocations: 87.28 kB / 1.599 GB, free: 269.9 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/1.151, allocations: 225.9 kB / 1.599 GB, free: 269.6 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.151, allocations: 112 kB / 1.599 GB, free: 269.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007829/1.152, allocations: 0.8606 MB / 1.6 GB, free: 268.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/1.152, allocations: 0 / 1.6 GB, free: 268.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001699/1.154, allocations: 1.128 MB / 1.601 GB, free: 267.5 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007264/1.161, allocations: 7.625 MB / 1.608 GB, free: 259.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004543/1.166, allocations: 4.296 MB / 1.613 GB, free: 255.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.166, allocations: 0 / 1.613 GB, free: 255.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/1.168, allocations: 2.548 MB / 1.615 GB, free: 253 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/1.172, allocations: 1.078 MB / 1.616 GB, free: 252 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/1.194, allocations: 23.58 MB / 1.639 GB, free: 228.3 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009628/1.195, allocations: 1.935 MB / 1.641 GB, free: 226.4 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002656/1.198, allocations: 1.317 MB / 1.642 GB, free: 225.1 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.199, allocations: 1.089 MB / 1.643 GB, free: 224 MB / 1.264 GB Notification: Performance of SimCode: time 6.21e-07/1.199, allocations: 0 / 1.643 GB, free: 224 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.305/5.504, allocations: 67.24 MB / 1.709 GB, free: 157.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.57/26.08, allocations: 2.484 kB / 1.709 GB, free: 157.4 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)