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.001553/0.001553, allocations: 108.3 kB / 16.64 MB, free: 6.371 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.001664/0.001664, allocations: 189.3 kB / 17.56 MB, free: 5.797 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.416/1.416, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8193/0.8193, allocations: 125.3 MB / 416.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 59.91 kB / 0.4943 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.375, allocations: 78.56 MB / 0.571 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5901/0.9651, allocations: 190.1 MB / 0.7567 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006629/0.9718, allocations: 4.003 MB / 0.7606 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008474/0.9727, allocations: 18.03 kB / 0.7606 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.974, allocations: 416.2 kB / 0.761 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.9779, allocations: 1.432 MB / 0.7624 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.9818, allocations: 1.25 MB / 0.7636 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.9851, allocations: 1.625 MB / 0.7652 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.9867, allocations: 0.9395 MB / 0.7661 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.9892, allocations: 1.078 MB / 0.7672 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.9904, allocations: 0.8671 MB / 0.768 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.9906, allocations: 95.72 kB / 0.7681 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.9938, allocations: 1.355 MB / 0.7694 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.9942, allocations: 358.6 kB / 0.7698 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007093/0.9949, allocations: 0.5116 MB / 0.7703 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.9967, allocations: 1.17 MB / 0.7714 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.9967, allocations: 1.188 kB / 0.7714 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9967, allocations: 0 / 0.7714 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.9967, allocations: 5.969 kB / 0.7714 GB, free: 1.484 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.003535/1, allocations: 1.448 MB / 0.7729 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1, allocations: 9.188 kB / 0.7729 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/1.002, allocations: 244.4 kB / 0.7731 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/1.003, allocations: 0.5846 MB / 0.7737 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/1.003, allocations: 38 kB / 0.7737 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/1.003, allocations: 53.12 kB / 0.7738 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/1.005, allocations: 0.9617 MB / 0.7747 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/1.005, allocations: 8.438 kB / 0.7747 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/1.005, allocations: 24.5 kB / 0.7747 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/1.005, allocations: 26.41 kB / 0.7747 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/1.007, allocations: 0.9399 MB / 0.7757 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005167/1.012, allocations: 4.276 MB / 0.7798 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/1.013, allocations: 0.5973 MB / 0.7804 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/1.013, allocations: 0.5136 MB / 0.7809 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/1.014, allocations: 0.8785 MB / 0.7818 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/1.015, allocations: 40.91 kB / 0.7818 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001616/1.016, allocations: 454.3 kB / 0.7823 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.474e-06/1.016, allocations: 0 / 0.7823 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01666/1.033, allocations: 3.844 MB / 0.786 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/1.033, allocations: 60.34 kB / 0.7861 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009365/1.034, allocations: 0.7087 MB / 0.7868 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/1.034, allocations: 32.7 kB / 0.7868 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/1.034, allocations: 325.8 kB / 0.7871 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.034, allocations: 175.1 kB / 0.7873 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/1.035, allocations: 153.7 kB / 0.7874 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.035, allocations: 324.4 kB / 0.7877 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/1.035, allocations: 394.4 kB / 0.7881 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/1.036, allocations: 490.2 kB / 0.7886 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/1.038, allocations: 0.9202 MB / 0.7895 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.038, allocations: 0 / 0.7895 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01083/1.048, allocations: 2.565 MB / 0.792 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.048, allocations: 10.06 kB / 0.792 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.048, allocations: 0 / 0.792 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009202/1.058, allocations: 1.737 MB / 0.7937 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/1.058, allocations: 92.69 kB / 0.7938 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/1.071, allocations: 7.143 MB / 0.8007 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/1.072, allocations: 31.98 kB / 0.8008 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.486e-05/1.072, allocations: 53.8 kB / 0.8008 GB, free: 8.477 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.0004586/1.073, allocations: 206.6 kB / 0.801 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/1.073, allocations: 84.75 kB / 0.8011 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/1.078, allocations: 1.732 MB / 0.8028 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.078, allocations: 16.31 kB / 0.8028 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.078, allocations: 2.844 kB / 0.8028 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.078, allocations: 3.094 kB / 0.8028 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/1.084, allocations: 2.543 MB / 0.8053 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.084, allocations: 3.281 kB / 0.8053 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/1.084, allocations: 84.8 kB / 0.8054 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003399/1.088, allocations: 0.8083 MB / 0.8062 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.397e-05/1.088, allocations: 15.61 kB / 0.8062 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00702/1.095, allocations: 4.857 MB / 0.8109 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.095, allocations: 3.984 kB / 0.8109 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005405/1.1, allocations: 2.149 MB / 0.813 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/1.101, allocations: 234.1 kB / 0.8133 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/1.101, allocations: 10.88 kB / 0.8133 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006266/1.102, allocations: 36.89 kB / 0.8133 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/1.102, allocations: 46 kB / 0.8133 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/1.102, allocations: 29.89 kB / 0.8134 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006658/1.103, allocations: 0.4963 MB / 0.8139 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/1.103, allocations: 2.906 kB / 0.8139 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001114/1.104, allocations: 289.8 kB / 0.8141 GB, free: 2.996 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.0005956/1.104, allocations: 219 kB / 0.8143 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003646/1.108, allocations: 1.511 MB / 0.8158 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.108, allocations: 5.266 kB / 0.8158 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001737/1.11, allocations: 0.912 MB / 0.8167 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/1.112, allocations: 463.2 kB / 0.8172 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/1.115, allocations: 2.018 MB / 0.8191 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/1.116, allocations: 0.9785 MB / 0.8201 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/1.116, allocations: 75.81 kB / 0.8202 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/1.116, allocations: 1.094 kB / 0.8202 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.02842/1.144, allocations: 19.28 MB / 0.839 GB, free: 14.41 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)