Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="BuildingSystems_BuildingSystems_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.008635/0.008635, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.002201/0.002201, allocations: 191.9 kB / 16.67 MB, free: 6.379 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002348/0.002348, allocations: 278.6 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9597/0.9597, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 108.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2041, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ClosedDoors): time 0.6639/0.868, allocations: 218.5 MB / 0.9793 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02803/0.8961, allocations: 20.44 MB / 0.9992 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003761/0.8999, allocations: 63.69 kB / 0.9993 GB, free: 3.922 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003696/0.9036, allocations: 1.243 MB / 1 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.9157, allocations: 4.081 MB / 1.004 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.92, allocations: 1.546 MB / 1.006 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009122/0.9292, allocations: 6.974 MB / 1.013 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003612/0.9328, allocations: 2.356 MB / 1.015 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.9378, allocations: 2.399 MB / 1.017 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004746/0.9426, allocations: 2.455 MB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006467/0.9433, allocations: 340 kB / 1.02 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007831/0.9511, allocations: 3.469 MB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001769/0.9529, allocations: 1.454 MB / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002699/0.9556, allocations: 1.867 MB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.9679, allocations: 5.763 MB / 1.032 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.968, allocations: 0 / 1.032 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.968, allocations: 0 / 1.032 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001283/0.9681, allocations: 0 / 1.032 GB, free: 1.863 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01052/0.9787, allocations: 3.956 MB / 1.036 GB, free: 13.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.9787, allocations: 8.031 kB / 1.036 GB, free: 13.83 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005086/0.9793, allocations: 387.8 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/0.9841, allocations: 0.8315 MB / 1.037 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/0.9881, allocations: 1.926 MB / 1.039 GB, free: 10.62 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.9883, allocations: 201.4 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004542/0.9887, allocations: 283.8 kB / 1.04 GB, free: 10.15 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005703/0.9944, allocations: 3.279 MB / 1.043 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/0.9945, allocations: 0 / 1.043 GB, free: 6.828 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.9948, allocations: 108 kB / 1.043 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.9949, allocations: 125.4 kB / 1.043 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006967/1.002, allocations: 4.623 MB / 1.048 GB, free: 1.961 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.01814/1.02, allocations: 10.92 MB / 1.058 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006423/1.026, allocations: 4.866 MB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003508/1.03, allocations: 2.532 MB / 1.066 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/1.031, allocations: 0.8642 MB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.163e-05/1.031, allocations: 77.7 kB / 1.067 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=399): time 5.24e-06/1.031, allocations: 0 / 1.067 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=399): time 0.009633/1.041, allocations: 6.023 MB / 1.072 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/1.041, allocations: 98.48 kB / 1.073 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/1.043, allocations: 1.228 MB / 1.074 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003084/1.043, allocations: 93.7 kB / 1.074 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006363/1.044, allocations: 0.8135 MB / 1.075 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.045, allocations: 1.332 MB / 1.076 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000821/1.046, allocations: 0.5546 MB / 1.076 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.046, allocations: 301.1 kB / 1.077 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/1.049, allocations: 1.607 MB / 1.078 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/1.051, allocations: 1.905 MB / 1.08 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005488/1.057, allocations: 3.838 MB / 1.084 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/1.057, allocations: 0 / 1.084 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006874/1.064, allocations: 4.195 MB / 1.088 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/1.064, allocations: 4 kB / 1.088 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/1.064, allocations: 7.297 kB / 1.088 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/1.064, allocations: 20 kB / 1.088 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/1.067, allocations: 0.6788 MB / 1.089 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.298e-05/1.067, allocations: 23.94 kB / 1.089 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/1.069, allocations: 237.4 kB / 1.089 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/1.069, allocations: 116 kB / 1.089 GB, free: 6.465 MB / 0.8419 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 (430): * Single equations (assignments): 430 * 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.001408/1.071, allocations: 0.7281 MB / 1.09 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005623/1.071, allocations: 241 kB / 1.09 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007195/1.079, allocations: 4.639 MB / 1.095 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/1.079, allocations: 36 kB / 1.095 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.079, allocations: 4 kB / 1.095 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4108/1.49, allocations: 3.952 MB / 1.098 GB, free: 288.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/1.505, allocations: 8.267 MB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.505, allocations: 3.75 kB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002842/1.508, allocations: 0.6597 MB / 1.107 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/1.509, allocations: 140.5 kB / 1.107 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/1.509, allocations: 81.86 kB / 1.107 GB, free: 285.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/1.512, allocations: 5.034 MB / 1.112 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.512, allocations: 0.6094 kB / 1.112 GB, free: 280.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.524, allocations: 6.825 MB / 1.119 GB, free: 278 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/1.526, allocations: 0.7649 MB / 1.12 GB, free: 277.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004128/1.526, allocations: 69.7 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/1.528, allocations: 89.64 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004607/1.528, allocations: 227.5 kB / 1.12 GB, free: 277.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002292/1.528, allocations: 113.3 kB / 1.12 GB, free: 277.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001341/1.53, allocations: 0.8557 MB / 1.121 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/1.53, allocations: 0.8438 kB / 1.121 GB, free: 277.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002773/1.533, allocations: 1.069 MB / 1.122 GB, free: 276.9 MB / 0.8419 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.01098/1.544, allocations: 7.62 MB / 1.13 GB, free: 273.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007215/1.551, allocations: 4.058 MB / 1.133 GB, free: 272.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.551, allocations: 1.188 kB / 1.133 GB, free: 272.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004118/1.555, allocations: 2.548 MB / 1.136 GB, free: 271.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005052/1.56, allocations: 1.076 MB / 1.137 GB, free: 270.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03565/1.596, allocations: 23 MB / 1.159 GB, free: 259.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/1.597, allocations: 1.943 MB / 1.161 GB, free: 257.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00328/1.6, allocations: 1.218 MB / 1.163 GB, free: 256.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/1.602, allocations: 1.089 MB / 1.164 GB, free: 255.5 MB / 0.8419 GB Notification: Performance of SimCode: time 9.92e-07/1.602, allocations: 0 / 1.164 GB, free: 255.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.712, allocations: 68.05 MB / 1.23 GB, free: 188.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/16.43, allocations: 0 / 1.23 GB, free: 188.2 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ClosedDoors.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)