Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001393/0.001393, allocations: 103.7 kB / 16.35 MB, free: 5.875 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.001381/0.001381, allocations: 191 kB / 17.29 MB, free: 5.516 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7899/0.7899, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3402, allocations: 80.18 MB / 0.5815 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4794/0.8197, allocations: 192.6 MB / 0.7696 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005339/0.8251, allocations: 4.014 MB / 0.7735 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.8256, allocations: 19.53 kB / 0.7735 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.8267, allocations: 476.1 kB / 0.774 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.8296, allocations: 1.526 MB / 0.7755 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002936/0.8325, allocations: 1.364 MB / 0.7768 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.8343, allocations: 1.64 MB / 0.7784 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.8353, allocations: 0.9459 MB / 0.7793 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.8366, allocations: 0.921 MB / 0.7802 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009589/0.8376, allocations: 0.854 MB / 0.7811 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.8377, allocations: 96.38 kB / 0.7812 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.8397, allocations: 1.308 MB / 0.7824 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.84, allocations: 360.3 kB / 0.7828 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.8405, allocations: 0.5088 MB / 0.7833 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.8421, allocations: 1.636 MB / 0.7849 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.8421, allocations: 6.531 kB / 0.7849 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8421, allocations: 0.9062 kB / 0.7849 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.8421, allocations: 0 / 0.7849 GB, free: 1.27 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.002617/0.8447, allocations: 1.439 MB / 0.7863 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.8448, allocations: 7.188 kB / 0.7863 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.8463, allocations: 239.9 kB / 0.7865 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008423/0.8471, allocations: 0.6075 MB / 0.7871 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.8471, allocations: 39.47 kB / 0.7872 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.8473, allocations: 57.27 kB / 0.7872 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.8485, allocations: 0.9559 MB / 0.7881 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.8485, allocations: 15.31 kB / 0.7882 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.8486, allocations: 18.81 kB / 0.7882 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.8486, allocations: 29.06 kB / 0.7882 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.8499, allocations: 0.9403 MB / 0.7891 GB, free: 16.01 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.00467/0.8546, allocations: 4.256 MB / 0.7933 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/0.8554, allocations: 0.5974 MB / 0.7939 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.856, allocations: 0.5206 MB / 0.7944 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009909/0.857, allocations: 0.8725 MB / 0.7952 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.8571, allocations: 39.83 kB / 0.7953 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001327/0.8584, allocations: 417.7 kB / 0.7957 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 2.865e-06/0.8584, allocations: 0 / 0.7957 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01622/0.8747, allocations: 3.842 MB / 0.7994 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.8747, allocations: 55.03 kB / 0.7995 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000755/0.8755, allocations: 0.7098 MB / 0.8002 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.669e-05/0.8756, allocations: 36.86 kB / 0.8002 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.8758, allocations: 320.5 kB / 0.8005 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.8759, allocations: 178.3 kB / 0.8007 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.8762, allocations: 150.4 kB / 0.8008 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8763, allocations: 327.9 kB / 0.8011 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.8769, allocations: 394.9 kB / 0.8015 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.8775, allocations: 491.9 kB / 0.802 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.8788, allocations: 0.9205 MB / 0.8029 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8788, allocations: 1.969 kB / 0.8029 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01051/0.8893, allocations: 2.557 MB / 0.8054 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.8894, allocations: 5.656 kB / 0.8054 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8894, allocations: 6.938 kB / 0.8054 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008972/0.8984, allocations: 1.73 MB / 0.8071 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.8988, allocations: 91.55 kB / 0.8072 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.9104, allocations: 7.147 MB / 0.8141 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.9112, allocations: 22.64 kB / 0.8142 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.02e-05/0.9113, allocations: 46.95 kB / 0.8142 GB, free: 7.629 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.00035/0.9117, allocations: 210.4 kB / 0.8144 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.9118, allocations: 78.59 kB / 0.8145 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/0.9166, allocations: 1.734 MB / 0.8162 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.9166, allocations: 6.188 kB / 0.8162 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9166, allocations: 3.562 kB / 0.8162 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/0.9166, allocations: 7.922 kB / 0.8162 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005625/0.9223, allocations: 2.551 MB / 0.8187 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9223, allocations: 2.75 kB / 0.8187 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.9227, allocations: 90.36 kB / 0.8188 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003174/0.9259, allocations: 0.8005 MB / 0.8195 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.9259, allocations: 13.59 kB / 0.8196 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006148/0.9321, allocations: 4.856 MB / 0.8243 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9321, allocations: 3.219 kB / 0.8243 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004855/0.937, allocations: 2.145 MB / 0.8264 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.9374, allocations: 232.8 kB / 0.8266 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.9375, allocations: 13.59 kB / 0.8266 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005405/0.9381, allocations: 27.3 kB / 0.8267 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.9382, allocations: 49.62 kB / 0.8267 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/0.9383, allocations: 25.61 kB / 0.8267 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005553/0.9388, allocations: 0.4985 MB / 0.8272 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9388, allocations: 1.094 kB / 0.8272 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008409/0.9397, allocations: 290.1 kB / 0.8275 GB, free: 0.8203 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.0004201/0.9401, allocations: 212.3 kB / 0.8277 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003213/0.9433, allocations: 1.47 MB / 0.8291 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9434, allocations: 1.312 kB / 0.8291 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.9451, allocations: 0.9225 MB / 0.83 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.9469, allocations: 461.7 kB / 0.8305 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.9494, allocations: 1.712 MB / 0.8321 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.95, allocations: 0.9828 MB / 0.8331 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004898/0.9505, allocations: 162.6 kB / 0.8333 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.9507, allocations: 67.42 kB / 0.8333 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.9507, allocations: 1.094 kB / 0.8333 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Templates: time 0.03253/0.9832, allocations: 22.62 MB / 0.8554 GB, free: 4.84 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)