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.001443/0.001443, allocations: 107.4 kB / 15.99 MB, free: 6.348 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.001408/0.001408, allocations: 199.7 kB / 16.91 MB, free: 6.188 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.309/1.309, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.792/0.792, allocations: 135.2 MB / 425.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 71.88 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3037, allocations: 80.92 MB / 0.5846 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4626/0.7664, allocations: 190.1 MB / 0.7702 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00491/0.7713, allocations: 4.001 MB / 0.7741 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.7718, allocations: 20.41 kB / 0.7742 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.7729, allocations: 409.7 kB / 0.7745 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.7756, allocations: 1.442 MB / 0.776 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.7782, allocations: 1.259 MB / 0.7772 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.7798, allocations: 1.652 MB / 0.7788 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009367/0.7808, allocations: 0.9457 MB / 0.7797 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.7819, allocations: 0.9295 MB / 0.7806 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000748/0.7826, allocations: 0.8886 MB / 0.7815 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.7828, allocations: 95.97 kB / 0.7816 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.7845, allocations: 1.357 MB / 0.7829 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.7848, allocations: 359.9 kB / 0.7833 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.7852, allocations: 0.5128 MB / 0.7838 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009741/0.7862, allocations: 1.176 MB / 0.7849 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7862, allocations: 0.9375 kB / 0.7849 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7862, allocations: 0 / 0.7849 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.7862, allocations: 0.875 kB / 0.7849 GB, free: 1.332 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.002645/0.7889, allocations: 1.456 MB / 0.7863 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.7889, allocations: 9.203 kB / 0.7863 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.7903, allocations: 241.2 kB / 0.7866 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.791, allocations: 0.5845 MB / 0.7871 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.791, allocations: 40.88 kB / 0.7872 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.509e-05/0.7911, allocations: 51.67 kB / 0.7872 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.7924, allocations: 0.959 MB / 0.7882 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.7924, allocations: 6.125 kB / 0.7882 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.7925, allocations: 24.8 kB / 0.7882 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.7925, allocations: 28.08 kB / 0.7882 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.7937, allocations: 0.9395 MB / 0.7891 GB, free: 16.07 MB / 0.5919 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.004492/0.7983, allocations: 4.264 MB / 0.7933 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007831/0.799, allocations: 0.6006 MB / 0.7939 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.7997, allocations: 0.5168 MB / 0.7944 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.8007, allocations: 0.8787 MB / 0.7953 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.8007, allocations: 38.41 kB / 0.7953 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001521/0.8023, allocations: 455.1 kB / 0.7957 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/0.8023, allocations: 0 / 0.7957 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01591/0.8182, allocations: 3.843 MB / 0.7995 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.8182, allocations: 56.91 kB / 0.7995 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007073/0.819, allocations: 0.7023 MB / 0.8002 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.478e-05/0.819, allocations: 35.05 kB / 0.8003 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.8193, allocations: 327.1 kB / 0.8006 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.8194, allocations: 172.9 kB / 0.8007 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.8197, allocations: 156.4 kB / 0.8009 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8198, allocations: 329.8 kB / 0.8012 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.8204, allocations: 394.3 kB / 0.8016 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.821, allocations: 489.7 kB / 0.802 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.8222, allocations: 0.9184 MB / 0.8029 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8222, allocations: 0 / 0.8029 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01032/0.8325, allocations: 2.56 MB / 0.8054 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.8326, allocations: 8.734 kB / 0.8054 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8326, allocations: 2.812 kB / 0.8054 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008918/0.8415, allocations: 1.729 MB / 0.8071 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.8419, allocations: 99.83 kB / 0.8072 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.8535, allocations: 7.152 MB / 0.8142 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/0.8542, allocations: 35.34 kB / 0.8142 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/0.8543, allocations: 47.58 kB / 0.8143 GB, free: 7.836 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.0003473/0.8547, allocations: 206.6 kB / 0.8145 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.8549, allocations: 78.91 kB / 0.8146 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.8597, allocations: 1.742 MB / 0.8163 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.8597, allocations: 6.188 kB / 0.8163 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8597, allocations: 6.469 kB / 0.8163 GB, free: 7.137 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.8597, allocations: 9.328 kB / 0.8163 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/0.8651, allocations: 2.532 MB / 0.8188 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.8651, allocations: 6.562 kB / 0.8188 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.8655, allocations: 92.23 kB / 0.8189 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003156/0.8687, allocations: 0.8051 MB / 0.8196 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.824e-05/0.8687, allocations: 15.34 kB / 0.8197 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/0.875, allocations: 4.855 MB / 0.8244 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.875, allocations: 6.516 kB / 0.8244 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/0.88, allocations: 2.151 MB / 0.8265 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.8803, allocations: 232.5 kB / 0.8267 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.8805, allocations: 26.3 kB / 0.8267 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.881, allocations: 29.08 kB / 0.8268 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.8812, allocations: 51.31 kB / 0.8268 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.8812, allocations: 24.67 kB / 0.8268 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005747/0.8818, allocations: 0.5005 MB / 0.8273 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8818, allocations: 0 / 0.8273 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000813/0.8826, allocations: 286.4 kB / 0.8276 GB, free: 0.8906 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.0004993/0.8831, allocations: 205.8 kB / 0.8278 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003486/0.8866, allocations: 1.517 MB / 0.8293 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8867, allocations: 0 / 0.8293 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.8885, allocations: 0.9246 MB / 0.8302 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.8904, allocations: 464.4 kB / 0.8306 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.8932, allocations: 2.011 MB / 0.8326 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.8938, allocations: 0.9711 MB / 0.8335 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.894, allocations: 75.41 kB / 0.8336 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.894, allocations: 4 kB / 0.8336 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Templates: time 0.02303/0.9171, allocations: 19.28 MB / 0.8525 GB, free: 7.891 MB / 0.6231 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)