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.001177/0.001177, allocations: 110 kB / 16.41 MB, free: 6.484 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.001226/0.001226, allocations: 193.2 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7007/0.7007, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 66.09 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1203, allocations: 76.18 MB / 0.6321 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.546/0.6663, allocations: 192.6 MB / 0.8202 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005824/0.6722, allocations: 4.023 MB / 0.8241 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.673, allocations: 16.59 kB / 0.8241 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.6743, allocations: 477.8 kB / 0.8246 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003238/0.6775, allocations: 1.537 MB / 0.8261 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.6808, allocations: 1.35 MB / 0.8274 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.6827, allocations: 1.648 MB / 0.829 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.6837, allocations: 0.9533 MB / 0.8299 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.6849, allocations: 0.9235 MB / 0.8308 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009918/0.6859, allocations: 0.8516 MB / 0.8316 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.6861, allocations: 95.53 kB / 0.8317 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.6885, allocations: 1.311 MB / 0.833 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.6889, allocations: 345.2 kB / 0.8333 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.6894, allocations: 0.5123 MB / 0.8338 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.6915, allocations: 1.627 MB / 0.8354 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6915, allocations: 2.312 kB / 0.8354 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6915, allocations: 0 / 0.8354 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.6915, allocations: 0 / 0.8354 GB, free: 2.137 MB / 0.5919 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.002882/0.6944, allocations: 1.453 MB / 0.8369 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.6945, allocations: 10.28 kB / 0.8369 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.696, allocations: 236.8 kB / 0.8371 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008846/0.6969, allocations: 0.6079 MB / 0.8377 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.6969, allocations: 41.34 kB / 0.8377 GB, free: 492 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.6971, allocations: 54.91 kB / 0.8378 GB, free: 472 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.6986, allocations: 0.9589 MB / 0.8387 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.6986, allocations: 6.562 kB / 0.8387 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.6987, allocations: 25.34 kB / 0.8387 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.6987, allocations: 30.39 kB / 0.8388 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.7003, allocations: 0.9411 MB / 0.8397 GB, free: 15.26 MB / 0.6075 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.005294/0.7056, allocations: 4.245 MB / 0.8438 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009626/0.7066, allocations: 0.604 MB / 0.8444 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007647/0.7073, allocations: 0.5158 MB / 0.8449 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.7083, allocations: 0.8775 MB / 0.8458 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.7084, allocations: 37.75 kB / 0.8458 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001363/0.7098, allocations: 424.8 kB / 0.8462 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 3.166e-06/0.7098, allocations: 0 / 0.8462 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01754/0.7273, allocations: 3.836 MB / 0.85 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.7274, allocations: 55.84 kB / 0.85 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.7284, allocations: 0.7193 MB / 0.8507 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.7286, allocations: 37.7 kB / 0.8508 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.7288, allocations: 324.6 kB / 0.8511 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.729, allocations: 168.2 kB / 0.8512 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.7293, allocations: 154 kB / 0.8514 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7294, allocations: 329.9 kB / 0.8517 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/0.73, allocations: 396.9 kB / 0.8521 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/0.7308, allocations: 485.5 kB / 0.8525 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.7324, allocations: 0.9219 MB / 0.8534 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7324, allocations: 0 / 0.8534 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01138/0.7438, allocations: 2.562 MB / 0.8559 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.7438, allocations: 8 kB / 0.856 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7439, allocations: 0 / 0.856 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009468/0.7533, allocations: 1.731 MB / 0.8576 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.7538, allocations: 91.86 kB / 0.8577 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.7665, allocations: 7.139 MB / 0.8647 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.7675, allocations: 20.05 kB / 0.8647 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.601e-05/0.7676, allocations: 47.92 kB / 0.8648 GB, free: 7.496 MB / 0.6231 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.0003956/0.768, allocations: 209.2 kB / 0.865 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.7682, allocations: 82.97 kB / 0.865 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004886/0.7731, allocations: 1.738 MB / 0.8667 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.7731, allocations: 11.94 kB / 0.8668 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.7731, allocations: 5.062 kB / 0.8668 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.7731, allocations: 3.984 kB / 0.8668 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/0.7791, allocations: 2.54 MB / 0.8692 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.7792, allocations: 0 / 0.8692 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.7797, allocations: 87.89 kB / 0.8693 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003364/0.783, allocations: 0.8009 MB / 0.8701 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.7831, allocations: 12 kB / 0.8701 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006942/0.7901, allocations: 4.861 MB / 0.8749 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.7901, allocations: 7.875 kB / 0.8749 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/0.7954, allocations: 2.143 MB / 0.877 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.7959, allocations: 228 kB / 0.8772 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.796, allocations: 20 kB / 0.8772 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/0.7967, allocations: 23.98 kB / 0.8772 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.7969, allocations: 52.38 kB / 0.8773 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.7969, allocations: 19.98 kB / 0.8773 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006664/0.7976, allocations: 0.499 MB / 0.8778 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7976, allocations: 0 / 0.8778 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001008/0.7986, allocations: 291.8 kB / 0.8781 GB, free: 9.461 MB / 0.6387 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.000479/0.7991, allocations: 212.6 kB / 0.8783 GB, free: 9.258 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003466/0.8026, allocations: 1.468 MB / 0.8797 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.299e-06/0.8026, allocations: 0 / 0.8797 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.8044, allocations: 0.9208 MB / 0.8806 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.8064, allocations: 458.5 kB / 0.881 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.8091, allocations: 1.705 MB / 0.8827 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.8096, allocations: 0.9867 MB / 0.8837 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004949/0.8101, allocations: 154.6 kB / 0.8838 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.8103, allocations: 75.41 kB / 0.8839 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.8104, allocations: 0 / 0.8839 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of Templates: time 0.03422/0.8446, allocations: 22.78 MB / 0.9061 GB, free: 12.84 MB / 0.67 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)