Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor",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.001163/0.001163, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 197 kB / 16.53 MB, free: 6.664 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002215/0.002215, allocations: 275 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9298/0.9298, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 107.8 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1403, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor): time 0.4435/0.5838, allocations: 166.9 MB / 0.8433 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.5953, allocations: 8.491 MB / 0.8516 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.5969, allocations: 37.62 kB / 0.8516 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.5984, allocations: 0.5625 MB / 0.8521 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.6022, allocations: 1.538 MB / 0.8536 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.6045, allocations: 0.9974 MB / 0.8546 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.6087, allocations: 4.099 MB / 0.8586 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.6106, allocations: 1.315 MB / 0.8599 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003169/0.6138, allocations: 1.499 MB / 0.8614 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/0.6164, allocations: 1.506 MB / 0.8628 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005114/0.6169, allocations: 188.4 kB / 0.863 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.62, allocations: 1.108 MB / 0.8641 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009532/0.621, allocations: 0.6673 MB / 0.8648 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.6228, allocations: 1.038 MB / 0.8658 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.6271, allocations: 2.732 MB / 0.8684 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6271, allocations: 0 / 0.8684 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6271, allocations: 0 / 0.8684 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001159/0.6272, allocations: 0 / 0.8684 GB, free: 1.367 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.005662/0.6329, allocations: 2.262 MB / 0.8706 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.6329, allocations: 10.06 kB / 0.8707 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003718/0.6333, allocations: 227.9 kB / 0.8709 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006062/0.6339, allocations: 195.4 kB / 0.8711 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.6359, allocations: 1.137 MB / 0.8722 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.636, allocations: 116.6 kB / 0.8723 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.6362, allocations: 152.1 kB / 0.8724 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/0.6392, allocations: 1.922 MB / 0.8743 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.6393, allocations: 7.969 kB / 0.8743 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.6394, allocations: 62.59 kB / 0.8744 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.6395, allocations: 35.28 kB / 0.8744 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/0.6434, allocations: 2.48 MB / 0.8768 GB, free: 12.26 MB / 0.5919 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.008331/0.6517, allocations: 6.146 MB / 0.8828 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003809/0.6555, allocations: 2.807 MB / 0.8856 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.6576, allocations: 1.421 MB / 0.887 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.6592, allocations: 1.73 MB / 0.8886 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.6593, allocations: 60.55 kB / 0.8887 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=237): time 3.958e-06/0.6593, allocations: 0 / 0.8887 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=237): time 0.005612/0.6649, allocations: 3.434 MB / 0.8921 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.665, allocations: 77.41 kB / 0.8921 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.666, allocations: 0.7821 MB / 0.8929 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.6662, allocations: 65.7 kB / 0.893 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.6665, allocations: 494.1 kB / 0.8934 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005922/0.6671, allocations: 0.7892 MB / 0.8942 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004732/0.6676, allocations: 347.6 kB / 0.8945 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.6677, allocations: 301.1 kB / 0.8948 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.6691, allocations: 0.898 MB / 0.8957 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.6708, allocations: 1.129 MB / 0.8968 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.674, allocations: 2.223 MB / 0.899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6741, allocations: 8 kB / 0.899 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00386/0.6779, allocations: 2.433 MB / 0.9013 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.678, allocations: 8 kB / 0.9014 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.678, allocations: 10.44 kB / 0.9014 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.678, allocations: 12 kB / 0.9014 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.6797, allocations: 439.4 kB / 0.9018 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.592e-05/0.6797, allocations: 12 kB / 0.9018 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.6808, allocations: 154.3 kB / 0.902 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.6809, allocations: 71.98 kB / 0.902 GB, free: 3.113 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0006323/0.6816, allocations: 449.2 kB / 0.9025 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.6819, allocations: 142.2 kB / 0.9026 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/0.6862, allocations: 2.728 MB / 0.9053 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.6863, allocations: 31.98 kB / 0.9053 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6863, allocations: 0 / 0.9053 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003348/0.6896, allocations: 2.381 MB / 0.9076 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006025/0.6957, allocations: 4.302 MB / 0.9118 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6957, allocations: 0 / 0.9118 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.6974, allocations: 407.4 kB / 0.9122 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005772/0.698, allocations: 97.69 kB / 0.9123 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.6981, allocations: 51.98 kB / 0.9123 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006905/0.6988, allocations: 1.12 MB / 0.9134 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6989, allocations: 4 kB / 0.9134 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005953/0.7048, allocations: 4.057 MB / 0.9174 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008661/0.7057, allocations: 474.7 kB / 0.9179 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.706, allocations: 42.06 kB / 0.9179 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009631/0.7069, allocations: 55.97 kB / 0.9179 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/0.7072, allocations: 137.8 kB / 0.9181 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.7074, allocations: 71.97 kB / 0.9181 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006932/0.7081, allocations: 0.5459 MB / 0.9187 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.293e-06/0.7081, allocations: 0 / 0.9187 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001583/0.7097, allocations: 0.6552 MB / 0.9193 GB, free: 1.141 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007086/0.7168, allocations: 4.895 MB / 0.9241 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009243/0.726, allocations: 4.852 MB / 0.9288 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.726, allocations: 0 / 0.9288 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.7281, allocations: 1.28 MB / 0.9301 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.731, allocations: 0.5798 MB / 0.9307 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/0.7509, allocations: 14.27 MB / 0.9446 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008958/0.7518, allocations: 1.339 MB / 0.9459 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00221/0.7541, allocations: 0.7189 MB / 0.9466 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.7551, allocations: 0.6164 MB / 0.9472 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of SimCode: time 6.41e-07/0.7551, allocations: 0 / 0.9472 GB, free: 4.039 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06767/0.8228, allocations: 39.45 MB / 0.9857 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.24, allocations: 7.312 kB / 0.9857 GB, free: 13.07 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)