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.01075/0.01075, allocations: 99.52 kB / 15.73 MB, free: 6.008 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.001886/0.001887, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8722/0.8722, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 71.02 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1703, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.6216/0.792, allocations: 192.6 MB / 0.8478 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007232/0.7993, allocations: 4.013 MB / 0.8517 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.8004, allocations: 19.12 kB / 0.8517 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.802, allocations: 488.8 kB / 0.8522 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.8061, allocations: 1.601 MB / 0.8537 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.8096, allocations: 1.36 MB / 0.8551 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.8119, allocations: 1.642 MB / 0.8567 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.8133, allocations: 0.9569 MB / 0.8576 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.815, allocations: 0.942 MB / 0.8585 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.8164, allocations: 0.8483 MB / 0.8594 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002886/0.8167, allocations: 95.72 kB / 0.8595 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.8195, allocations: 1.321 MB / 0.8607 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006426/0.8201, allocations: 347 kB / 0.8611 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000865/0.821, allocations: 0.5094 MB / 0.8616 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.8239, allocations: 1.636 MB / 0.8632 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8239, allocations: 0 / 0.8632 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8239, allocations: 4 kB / 0.8632 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.962e-05/0.824, allocations: 0 / 0.8632 GB, free: 5.5 MB / 0.6231 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.003475/0.8274, allocations: 1.452 MB / 0.8646 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.8275, allocations: 8.031 kB / 0.8646 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.8291, allocations: 239.5 kB / 0.8648 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.8302, allocations: 0.6109 MB / 0.8654 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.8303, allocations: 37 kB / 0.8655 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.8304, allocations: 52 kB / 0.8655 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.8321, allocations: 0.957 MB / 0.8664 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.8321, allocations: 7.938 kB / 0.8664 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.8322, allocations: 20 kB / 0.8665 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.8323, allocations: 27.98 kB / 0.8665 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.834, allocations: 0.9445 MB / 0.8674 GB, free: 0.9805 MB / 0.6231 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.006125/0.8401, allocations: 4.259 MB / 0.8716 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.8412, allocations: 0.6022 MB / 0.8722 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.8419, allocations: 0.5148 MB / 0.8727 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.843, allocations: 0.8783 MB / 0.8735 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.843, allocations: 35 kB / 0.8736 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001459/0.8445, allocations: 423.1 kB / 0.874 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 3.397e-06/0.8445, allocations: 0 / 0.874 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01719/0.8617, allocations: 3.837 MB / 0.8777 GB, free: 6.008 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.8618, allocations: 63.78 kB / 0.8778 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000924/0.8627, allocations: 0.7117 MB / 0.8785 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.773e-05/0.8628, allocations: 33.7 kB / 0.8785 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.8631, allocations: 316.6 kB / 0.8788 GB, free: 4.859 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.8633, allocations: 177.4 kB / 0.879 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.8635, allocations: 154 kB / 0.8791 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8636, allocations: 322 kB / 0.8794 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/0.8643, allocations: 397.8 kB / 0.8798 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.8651, allocations: 489.5 kB / 0.8803 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.8666, allocations: 0.9141 MB / 0.8812 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8666, allocations: 0 / 0.8812 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01133/0.878, allocations: 2.568 MB / 0.8837 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.878, allocations: 4 kB / 0.8837 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.878, allocations: 10.59 kB / 0.8837 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009399/0.8874, allocations: 1.73 MB / 0.8854 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.8879, allocations: 95.48 kB / 0.8855 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/0.9016, allocations: 7.143 MB / 0.8924 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/0.9025, allocations: 16.06 kB / 0.8925 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/0.9026, allocations: 51.92 kB / 0.8925 GB, free: 6.441 MB / 0.6544 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.0004413/0.9031, allocations: 209.7 kB / 0.8927 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/0.9033, allocations: 79.06 kB / 0.8928 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005348/0.9087, allocations: 1.738 MB / 0.8945 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.9087, allocations: 8 kB / 0.8945 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.9087, allocations: 7.875 kB / 0.8945 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.9087, allocations: 0 / 0.8945 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006424/0.9152, allocations: 2.548 MB / 0.897 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.9152, allocations: 0 / 0.897 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000448/0.9157, allocations: 87.89 kB / 0.8971 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/0.9191, allocations: 0.8018 MB / 0.8978 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.9192, allocations: 12 kB / 0.8979 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00737/0.9266, allocations: 4.86 MB / 0.9026 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9266, allocations: 3.938 kB / 0.9026 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/0.9321, allocations: 2.155 MB / 0.9047 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/0.9327, allocations: 232 kB / 0.9049 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.9329, allocations: 12 kB / 0.9049 GB, free: 9.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.9335, allocations: 19.98 kB / 0.905 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.9337, allocations: 60.36 kB / 0.905 GB, free: 9.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.9338, allocations: 20.88 kB / 0.905 GB, free: 9.152 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007076/0.9345, allocations: 0.499 MB / 0.9055 GB, free: 8.656 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9345, allocations: 0 / 0.9055 GB, free: 8.656 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001121/0.9356, allocations: 291.8 kB / 0.9058 GB, free: 8.371 MB / 0.67 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.0005824/0.9362, allocations: 213.2 kB / 0.906 GB, free: 8.164 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003872/0.9401, allocations: 1.462 MB / 0.9074 GB, free: 6.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9401, allocations: 256 / 0.9074 GB, free: 6.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.942, allocations: 0.9145 MB / 0.9083 GB, free: 5.738 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.9441, allocations: 460.8 kB / 0.9088 GB, free: 5.301 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.9474, allocations: 1.716 MB / 0.9104 GB, free: 3.543 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.9481, allocations: 0.9828 MB / 0.9114 GB, free: 2.535 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005634/0.9486, allocations: 166.6 kB / 0.9116 GB, free: 2.367 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.9489, allocations: 63.42 kB / 0.9116 GB, free: 2.305 MB / 0.67 GB Notification: Performance of SimCode: time 4.3e-07/0.9489, allocations: 3.938 kB / 0.9116 GB, free: 2.301 MB / 0.67 GB Notification: Performance of Templates: time 0.03863/0.9876, allocations: 22.76 MB / 0.9339 GB, free: 11.77 MB / 0.7012 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 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)