Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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: translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001245/0.001246, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002304/0.002304, allocations: 293.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9626/0.9626, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 91.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5017/0.5038, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.747/1.251, allocations: 213.6 MB / 0.9756 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01556/1.266, allocations: 10.22 MB / 0.9856 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/1.269, allocations: 39.5 kB / 0.9856 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/1.271, allocations: 0.8358 MB / 0.9865 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008079/1.28, allocations: 2.89 MB / 0.9893 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/1.284, allocations: 1.421 MB / 0.9907 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004795/1.289, allocations: 3.163 MB / 0.9938 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/1.29, allocations: 1.029 MB / 0.9948 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/1.293, allocations: 1.143 MB / 0.9959 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/1.296, allocations: 1.078 MB / 0.9969 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004803/1.296, allocations: 122.1 kB / 0.9971 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/1.303, allocations: 2.732 MB / 0.9997 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009858/1.304, allocations: 0.4954 MB / 1 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001931/1.306, allocations: 0.728 MB / 1.001 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007197/1.313, allocations: 2.815 MB / 1.004 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.313, allocations: 0 / 1.004 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/1.313, allocations: 0.9688 kB / 1.004 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.899e-05/1.314, allocations: 0 / 1.004 GB, free: 1.109 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005759/1.319, allocations: 1.783 MB / 1.005 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.319, allocations: 8.469 kB / 1.005 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/1.323, allocations: 437.8 kB / 1.006 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/1.325, allocations: 0.8912 MB / 1.007 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/1.325, allocations: 71.12 kB / 1.007 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/1.325, allocations: 98.34 kB / 1.007 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/1.327, allocations: 1.199 MB / 1.008 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/1.327, allocations: 0 / 1.008 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/1.328, allocations: 49 kB / 1.008 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.952e-05/1.328, allocations: 57.2 kB / 1.008 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/1.329, allocations: 1.065 MB / 1.009 GB, free: 15.68 MB / 0.7325 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.006582/1.336, allocations: 4.753 MB / 1.014 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.338, allocations: 0.9899 MB / 1.015 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/1.339, allocations: 0.5907 MB / 1.015 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007349/1.34, allocations: 0.6778 MB / 1.016 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.639e-05/1.34, allocations: 43.06 kB / 1.016 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.905e-06/1.34, allocations: 4.969 kB / 1.016 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=83): time 0.004623/1.344, allocations: 2.297 MB / 1.018 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/1.344, allocations: 60.78 kB / 1.018 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009352/1.345, allocations: 0.64 MB / 1.019 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/1.345, allocations: 39.02 kB / 1.019 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/1.346, allocations: 459 kB / 1.019 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/1.346, allocations: 298.3 kB / 1.02 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/1.346, allocations: 133.2 kB / 1.02 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.346, allocations: 395 kB / 1.02 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/1.347, allocations: 323.3 kB / 1.021 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005529/1.347, allocations: 424.8 kB / 1.021 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/1.349, allocations: 0.7851 MB / 1.022 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.349, allocations: 0.8125 kB / 1.022 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00166/1.35, allocations: 0.947 MB / 1.023 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/1.35, allocations: 7.719 kB / 1.023 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.35, allocations: 3.312 kB / 1.023 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/1.351, allocations: 56.62 kB / 1.023 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/1.351, allocations: 155.4 kB / 1.023 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006479/1.352, allocations: 0.6137 MB / 1.023 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009684/1.353, allocations: 20.59 kB / 1.023 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.33e-05/1.353, allocations: 24.19 kB / 1.024 GB, free: 9.723 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005656/1.354, allocations: 306.8 kB / 1.024 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/1.354, allocations: 96.83 kB / 1.024 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.356, allocations: 0.931 MB / 1.025 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.356, allocations: 8.719 kB / 1.025 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.356, allocations: 0 / 1.025 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/1.357, allocations: 0.9287 MB / 1.026 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/1.36, allocations: 2.132 MB / 1.028 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.36, allocations: 1.688 kB / 1.028 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009311/1.361, allocations: 189.6 kB / 1.028 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/1.361, allocations: 4.969 kB / 1.028 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-05/1.361, allocations: 20.91 kB / 1.028 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/1.361, allocations: 5.281 kB / 1.028 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.361, allocations: 3.938 kB / 1.028 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/1.364, allocations: 1.383 MB / 1.029 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/1.364, allocations: 249.6 kB / 1.03 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/1.364, allocations: 17.72 kB / 1.03 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008003/1.365, allocations: 28.59 kB / 1.03 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/1.365, allocations: 51.86 kB / 1.03 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.68e-05/1.365, allocations: 26.14 kB / 1.03 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006947/1.366, allocations: 459.6 kB / 1.03 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.366, allocations: 0 / 1.03 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001151/1.367, allocations: 318.8 kB / 1.03 GB, free: 8.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.0004634/1.368, allocations: 213.8 kB / 1.031 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001427/1.369, allocations: 0.8138 MB / 1.031 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.369, allocations: 0 / 1.031 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006256/1.37, allocations: 439.7 kB / 1.032 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.373, allocations: 0.5917 MB / 1.032 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/1.377, allocations: 2.341 MB / 1.035 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/1.378, allocations: 1.121 MB / 1.036 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/1.378, allocations: 89.28 kB / 1.036 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/1.378, allocations: 0 / 1.036 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of Templates: time 0.03116/1.409, allocations: 18.79 MB / 1.054 GB, free: 8.656 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)