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.001137/0.001138, allocations: 98.81 kB / 16.02 MB, free: 80 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.001478/0.001477, allocations: 182.7 kB / 16.92 MB, free: 6.691 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.566/1.566, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7484/0.7484, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 8.281 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 77.52 MB / 0.5599 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5711/0.7488, allocations: 187.9 MB / 0.7434 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007657/0.7565, allocations: 4.018 MB / 0.7473 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.7579, allocations: 15.88 kB / 0.7473 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.7596, allocations: 393.8 kB / 0.7477 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/0.7644, allocations: 1.447 MB / 0.7491 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.7686, allocations: 1.249 MB / 0.7504 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003417/0.7721, allocations: 2.349 MB / 0.7527 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.7736, allocations: 0.871 MB / 0.7535 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.7758, allocations: 0.8485 MB / 0.7543 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.7776, allocations: 0.8682 MB / 0.7552 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004145/0.778, allocations: 72 kB / 0.7552 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.7815, allocations: 1.566 MB / 0.7568 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000653/0.7822, allocations: 326.9 kB / 0.7571 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.7833, allocations: 0.5033 MB / 0.7576 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.7869, allocations: 1.694 MB / 0.7592 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7869, allocations: 4 kB / 0.7592 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7869, allocations: 0 / 0.7592 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.196e-05/0.7869, allocations: 0 / 0.7592 GB, free: 10.75 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.003307/0.7903, allocations: 1.174 MB / 0.7604 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.7903, allocations: 12.03 kB / 0.7604 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.7921, allocations: 242.7 kB / 0.7606 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.7933, allocations: 0.5915 MB / 0.7612 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.7934, allocations: 37 kB / 0.7612 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.7935, allocations: 48 kB / 0.7613 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.7953, allocations: 0.9726 MB / 0.7622 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.7953, allocations: 11.84 kB / 0.7622 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.7954, allocations: 20 kB / 0.7623 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/0.7955, allocations: 27.98 kB / 0.7623 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/0.7971, allocations: 0.9485 MB / 0.7632 GB, free: 6.512 MB / 0.5762 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.005762/0.8028, allocations: 4.188 MB / 0.7673 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.8038, allocations: 0.6017 MB / 0.7679 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/0.8046, allocations: 0.5222 MB / 0.7684 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.8057, allocations: 0.89 MB / 0.7693 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.8058, allocations: 39 kB / 0.7693 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001531/0.8073, allocations: 359.2 kB / 0.7697 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 5.851e-06/0.8073, allocations: 0 / 0.7697 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01733/0.8247, allocations: 3.697 MB / 0.7733 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.8248, allocations: 55.84 kB / 0.7733 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.8261, allocations: 0.7116 MB / 0.774 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.8262, allocations: 37.7 kB / 0.7741 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.8265, allocations: 324.6 kB / 0.7744 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.8268, allocations: 177.4 kB / 0.7745 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.827, allocations: 45.7 kB / 0.7746 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8271, allocations: 326 kB / 0.7749 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.8278, allocations: 400.9 kB / 0.7753 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.8286, allocations: 493.5 kB / 0.7757 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.8301, allocations: 0.9297 MB / 0.7766 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.8301, allocations: 4 kB / 0.7766 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01142/0.8415, allocations: 2.478 MB / 0.7791 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.8416, allocations: 8 kB / 0.7791 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.8417, allocations: 0 / 0.7791 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009099/0.8508, allocations: 1.554 MB / 0.7806 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/0.8514, allocations: 95.88 kB / 0.7807 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.8636, allocations: 6.567 MB / 0.7871 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.8647, allocations: 31.98 kB / 0.7871 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.865, allocations: 51.92 kB / 0.7872 GB, free: 13.14 MB / 0.6075 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.0005575/0.8656, allocations: 209.6 kB / 0.7874 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/0.8659, allocations: 82.97 kB / 0.7875 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.8713, allocations: 1.676 MB / 0.7891 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.8713, allocations: 8 kB / 0.7891 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.8714, allocations: 4 kB / 0.7891 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.8714, allocations: 3.984 kB / 0.7891 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006397/0.8778, allocations: 2.482 MB / 0.7915 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.8778, allocations: 0 / 0.7915 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.8783, allocations: 99.77 kB / 0.7916 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003352/0.8816, allocations: 0.6533 MB / 0.7923 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.8817, allocations: 19.94 kB / 0.7923 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00659/0.8883, allocations: 4.423 MB / 0.7966 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8883, allocations: 0 / 0.7966 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005541/0.8939, allocations: 2.089 MB / 0.7986 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/0.8945, allocations: 239.9 kB / 0.7989 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.8948, allocations: 19.98 kB / 0.7989 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007938/0.8956, allocations: 31.92 kB / 0.7989 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.8958, allocations: 52.38 kB / 0.799 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.8959, allocations: 23.98 kB / 0.799 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007767/0.8967, allocations: 0.499 MB / 0.7995 GB, free: 108 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8967, allocations: 0 / 0.7995 GB, free: 108 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001276/0.898, allocations: 287.8 kB / 0.7998 GB, free: 15.82 MB / 0.6231 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.0006566/0.8987, allocations: 218.2 kB / 0.8 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003677/0.9023, allocations: 1.418 MB / 0.8013 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.772e-06/0.9024, allocations: 4.25 kB / 0.8014 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.9043, allocations: 0.8833 MB / 0.8022 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.907, allocations: 442.7 kB / 0.8026 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.9104, allocations: 2.044 MB / 0.8046 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.9111, allocations: 0.9828 MB / 0.8056 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007665/0.9119, allocations: 166.8 kB / 0.8058 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.9121, allocations: 67.41 kB / 0.8058 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of SimCode: time 1.322e-06/0.9121, allocations: 0 / 0.8058 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of Templates: time 0.03909/0.9512, allocations: 21.37 MB / 0.8267 GB, free: 4.387 MB / 0.6387 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)