Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 102.1 kB / 16.27 MB, free: 5.93 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.001489/0.001489, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.551/1.551, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.786/0.786, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 63.89 kB / 0.4957 GB, free: 2.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4512, allocations: 78.86 MB / 0.5728 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.9304/1.382, allocations: 192.6 MB / 0.7609 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009285/1.391, allocations: 4.027 MB / 0.7648 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/1.393, allocations: 20.38 kB / 0.7648 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001888/1.395, allocations: 474.1 kB / 0.7653 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005998/1.401, allocations: 1.517 MB / 0.7668 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00551/1.407, allocations: 1.349 MB / 0.7681 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004304/1.411, allocations: 1.623 MB / 0.7697 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/1.413, allocations: 0.9474 MB / 0.7706 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003525/1.416, allocations: 1.055 MB / 0.7716 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/1.418, allocations: 0.8361 MB / 0.7724 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002519/1.418, allocations: 96.81 kB / 0.7725 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/1.423, allocations: 1.299 MB / 0.7738 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006406/1.424, allocations: 353.7 kB / 0.7741 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/1.425, allocations: 0.5142 MB / 0.7746 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005078/1.43, allocations: 1.613 MB / 0.7762 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.43, allocations: 0 / 0.7762 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/1.43, allocations: 1.188 kB / 0.7762 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.43, allocations: 1.031 kB / 0.7762 GB, free: 1.379 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00468/1.435, allocations: 1.443 MB / 0.7776 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/1.435, allocations: 8.438 kB / 0.7776 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/1.437, allocations: 251.9 kB / 0.7779 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/1.438, allocations: 0.5784 MB / 0.7784 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/1.438, allocations: 46.2 kB / 0.7785 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.438, allocations: 51.73 kB / 0.7785 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/1.44, allocations: 0.9644 MB / 0.7795 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/1.44, allocations: 3.938 kB / 0.7795 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/1.44, allocations: 21.38 kB / 0.7795 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/1.44, allocations: 28.39 kB / 0.7795 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/1.441, allocations: 0.9426 MB / 0.7804 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006484/1.448, allocations: 4.271 MB / 0.7846 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.449, allocations: 0.5964 MB / 0.7852 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/1.45, allocations: 0.515 MB / 0.7857 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/1.451, allocations: 0.8838 MB / 0.7866 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/1.451, allocations: 40.72 kB / 0.7866 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00179/1.453, allocations: 412 kB / 0.787 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 5.42e-06/1.453, allocations: 1.094 kB / 0.787 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.0178/1.471, allocations: 3.847 MB / 0.7907 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/1.471, allocations: 57.31 kB / 0.7908 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/1.472, allocations: 0.7056 MB / 0.7915 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002849/1.473, allocations: 34.55 kB / 0.7915 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/1.473, allocations: 320.6 kB / 0.7918 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/1.473, allocations: 178.8 kB / 0.792 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/1.473, allocations: 148.6 kB / 0.7921 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.474, allocations: 330.3 kB / 0.7925 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006626/1.474, allocations: 399.7 kB / 0.7928 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/1.475, allocations: 481.7 kB / 0.7933 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/1.477, allocations: 0.9199 MB / 0.7942 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/1.477, allocations: 1.828 kB / 0.7942 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01114/1.488, allocations: 2.567 MB / 0.7967 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/1.488, allocations: 8.312 kB / 0.7967 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.488, allocations: 0 / 0.7967 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009364/1.497, allocations: 1.733 MB / 0.7984 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/1.498, allocations: 92.25 kB / 0.7985 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/1.511, allocations: 7.151 MB / 0.8055 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.513, allocations: 18.62 kB / 0.8055 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.513, allocations: 46.5 kB / 0.8055 GB, free: 8.359 MB / 0.5919 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 (46): * Single equations (assignments): 44 * 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): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005671/1.513, allocations: 214.5 kB / 0.8057 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/1.514, allocations: 82.5 kB / 0.8058 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/1.519, allocations: 1.739 MB / 0.8075 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.519, allocations: 10.47 kB / 0.8075 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.519, allocations: 3.938 kB / 0.8075 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/1.519, allocations: 3.984 kB / 0.8075 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006647/1.525, allocations: 2.547 MB / 0.81 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.526, allocations: 0 / 0.81 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/1.526, allocations: 90.55 kB / 0.8101 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/1.529, allocations: 0.8062 MB / 0.8109 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.312e-05/1.529, allocations: 16.38 kB / 0.8109 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008141/1.538, allocations: 4.86 MB / 0.8157 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.538, allocations: 6.922 kB / 0.8157 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/1.544, allocations: 2.142 MB / 0.8178 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009317/1.545, allocations: 236.2 kB / 0.818 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004285/1.545, allocations: 10.28 kB / 0.818 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/1.546, allocations: 22.7 kB / 0.818 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/1.547, allocations: 58.75 kB / 0.8181 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/1.547, allocations: 18.12 kB / 0.8181 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00112/1.548, allocations: 0.4979 MB / 0.8186 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.01e-07/1.548, allocations: 0 / 0.8186 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002338/1.55, allocations: 290.7 kB / 0.8188 GB, free: 2.293 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * 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): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009203/1.551, allocations: 217.5 kB / 0.8191 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004679/1.556, allocations: 1.516 MB / 0.8205 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.556, allocations: 0 / 0.8205 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002288/1.558, allocations: 0.9176 MB / 0.8214 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/1.561, allocations: 460.1 kB / 0.8219 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004394/1.566, allocations: 1.73 MB / 0.8236 GB, free: 236 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009846/1.567, allocations: 0.9923 MB / 0.8245 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001068/1.568, allocations: 155.1 kB / 0.8247 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/1.568, allocations: 77.03 kB / 0.8248 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of SimCode: time 2.554e-06/1.568, allocations: 0 / 0.8248 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of Templates: time 0.05181/1.62, allocations: 22.64 MB / 0.8469 GB, free: 9.113 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)