Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001086/0.001086, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007285/0.007285, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9405/0.9405, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 8 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.6024/0.7998, allocations: 187.9 MB / 0.7714 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006855/0.8066, allocations: 4.021 MB / 0.7753 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008645/0.8075, allocations: 15.94 kB / 0.7754 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.8088, allocations: 397.9 kB / 0.7757 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.8125, allocations: 1.451 MB / 0.7772 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.8157, allocations: 1.239 MB / 0.7784 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002975/0.8187, allocations: 2.347 MB / 0.7807 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.8199, allocations: 0.8765 MB / 0.7815 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.8219, allocations: 0.8563 MB / 0.7824 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.8233, allocations: 0.8643 MB / 0.7832 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.8235, allocations: 75.98 kB / 0.7833 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.8267, allocations: 1.566 MB / 0.7848 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003707/0.8271, allocations: 327 kB / 0.7851 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.8277, allocations: 0.5149 MB / 0.7856 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.8306, allocations: 1.686 MB / 0.7873 GB, free: 392 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8306, allocations: 0 / 0.7873 GB, free: 392 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8306, allocations: 0 / 0.7873 GB, free: 392 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.8306, allocations: 0 / 0.7873 GB, free: 392 kB / 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.002808/0.8334, allocations: 1.184 MB / 0.7884 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.8335, allocations: 8.031 kB / 0.7884 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.835, allocations: 234.8 kB / 0.7886 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.8362, allocations: 0.5914 MB / 0.7892 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.8362, allocations: 40.94 kB / 0.7893 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.8364, allocations: 48 kB / 0.7893 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.838, allocations: 0.9726 MB / 0.7903 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.838, allocations: 3.984 kB / 0.7903 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.8381, allocations: 24 kB / 0.7903 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.8382, allocations: 28 kB / 0.7903 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.8398, allocations: 0.9484 MB / 0.7912 GB, free: 12.15 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.005859/0.8457, allocations: 4.187 MB / 0.7953 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009809/0.8467, allocations: 0.6084 MB / 0.7959 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007846/0.8475, allocations: 0.5136 MB / 0.7964 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.8485, allocations: 0.8939 MB / 0.7973 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.8486, allocations: 39 kB / 0.7973 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001535/0.8501, allocations: 359.1 kB / 0.7977 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.966e-06/0.8501, allocations: 0 / 0.7977 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.0183/0.8685, allocations: 3.697 MB / 0.8013 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.8685, allocations: 59.78 kB / 0.8013 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.8696, allocations: 0.7078 MB / 0.802 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.8697, allocations: 37.7 kB / 0.8021 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.87, allocations: 316.6 kB / 0.8024 GB, free: 288 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.8702, allocations: 177.4 kB / 0.8025 GB, free: 108 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.8703, allocations: 45.7 kB / 0.8026 GB, free: 56 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8705, allocations: 330 kB / 0.8029 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/0.8712, allocations: 396.9 kB / 0.8033 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.8719, allocations: 0.4896 MB / 0.8038 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.8736, allocations: 0.9297 MB / 0.8047 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8736, allocations: 0 / 0.8047 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01197/0.8856, allocations: 2.49 MB / 0.8071 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.8856, allocations: 4 kB / 0.8071 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.8856, allocations: 4 kB / 0.8071 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009583/0.8952, allocations: 1.546 MB / 0.8086 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.8958, allocations: 103.8 kB / 0.8087 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.9078, allocations: 6.562 MB / 0.8151 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/0.9087, allocations: 35.89 kB / 0.8152 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.028e-05/0.9088, allocations: 47.94 kB / 0.8152 GB, free: 2.785 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.0003837/0.9092, allocations: 209.7 kB / 0.8154 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.9094, allocations: 79.06 kB / 0.8155 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/0.9146, allocations: 1.683 MB / 0.8171 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.9146, allocations: 4 kB / 0.8171 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.9146, allocations: 7.984 kB / 0.8171 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9146, allocations: 0 / 0.8171 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/0.9206, allocations: 2.485 MB / 0.8196 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.9206, allocations: 256 / 0.8196 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.9211, allocations: 96.08 kB / 0.8196 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00338/0.9245, allocations: 0.661 MB / 0.8203 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.867e-05/0.9245, allocations: 19.94 kB / 0.8203 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006554/0.9311, allocations: 4.404 MB / 0.8246 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.9311, allocations: 11.94 kB / 0.8246 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005371/0.9365, allocations: 2.092 MB / 0.8267 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/0.937, allocations: 232 kB / 0.8269 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.9371, allocations: 12 kB / 0.8269 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/0.9378, allocations: 39.88 kB / 0.8269 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.9379, allocations: 48.44 kB / 0.827 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.938, allocations: 23.98 kB / 0.827 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006154/0.9386, allocations: 0.5029 MB / 0.8275 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9386, allocations: 0 / 0.8275 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009457/0.9396, allocations: 283.8 kB / 0.8278 GB, free: 5.469 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.0005066/0.9401, allocations: 230.6 kB / 0.828 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003457/0.9436, allocations: 1.422 MB / 0.8294 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9436, allocations: 0 / 0.8294 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.9454, allocations: 0.8951 MB / 0.8303 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.9478, allocations: 435.5 kB / 0.8307 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.9508, allocations: 2.048 MB / 0.8327 GB, free: 388 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.9514, allocations: 0.9789 MB / 0.8336 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000616/0.952, allocations: 158.6 kB / 0.8338 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.9522, allocations: 63.42 kB / 0.8338 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.9522, allocations: 0 / 0.8338 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.03437/0.9866, allocations: 21.39 MB / 0.8547 GB, free: 10 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)