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.001318/0.001318, allocations: 104.8 kB / 16.41 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.001289/0.001289, allocations: 186.6 kB / 17.34 MB, free: 5.582 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 14.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8507/0.8507, allocations: 135.2 MB / 426.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 62.56 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1913, allocations: 80.93 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.6341/0.8255, allocations: 193.1 MB / 0.854 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006918/0.8324, allocations: 4.016 MB / 0.8579 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009598/0.8333, allocations: 20.53 kB / 0.8579 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.8348, allocations: 489.6 kB / 0.8584 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.8389, allocations: 1.603 MB / 0.8599 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003624/0.8425, allocations: 1.375 MB / 0.8613 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002533/0.845, allocations: 1.631 MB / 0.8629 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.8462, allocations: 0.8607 MB / 0.8637 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.848, allocations: 0.9496 MB / 0.8646 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.8493, allocations: 0.8721 MB / 0.8655 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.8494, allocations: 103.9 kB / 0.8656 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/0.8524, allocations: 1.317 MB / 0.8669 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004104/0.8528, allocations: 374.9 kB / 0.8672 GB, free: 444 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.8534, allocations: 0.5211 MB / 0.8677 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002993/0.8564, allocations: 1.666 MB / 0.8694 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.8564, allocations: 4 kB / 0.8694 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8564, allocations: 3.938 kB / 0.8694 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.8565, allocations: 0 / 0.8694 GB, free: 14.23 MB / 0.6387 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.002795/0.8593, allocations: 1.26 MB / 0.8706 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8593, allocations: 13.11 kB / 0.8706 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.8609, allocations: 243.2 kB / 0.8709 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.862, allocations: 0.6233 MB / 0.8715 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.862, allocations: 37 kB / 0.8715 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.8621, allocations: 48 kB / 0.8715 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.8638, allocations: 0.9999 MB / 0.8725 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.8639, allocations: 7.938 kB / 0.8725 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-05/0.8639, allocations: 20 kB / 0.8725 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.864, allocations: 35.92 kB / 0.8726 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.8658, allocations: 1.011 MB / 0.8736 GB, free: 9.77 MB / 0.6387 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.005715/0.8715, allocations: 4.134 MB / 0.8776 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.8725, allocations: 0.5665 MB / 0.8782 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008322/0.8734, allocations: 485.9 kB / 0.8786 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.8746, allocations: 0.8783 MB / 0.8795 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.8746, allocations: 39 kB / 0.8795 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002392/0.877, allocations: 0.6283 MB / 0.8801 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 3.908e-06/0.877, allocations: 0 / 0.8801 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01767/0.8947, allocations: 3.826 MB / 0.8839 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.8947, allocations: 63.78 kB / 0.8839 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.8958, allocations: 0.7117 MB / 0.8846 GB, free: 14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.896, allocations: 29.7 kB / 0.8847 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.8963, allocations: 328.8 kB / 0.885 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/0.8965, allocations: 194.3 kB / 0.8851 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.8968, allocations: 146.1 kB / 0.8853 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.8969, allocations: 322 kB / 0.8856 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007149/0.8976, allocations: 392.9 kB / 0.886 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007975/0.8984, allocations: 493.5 kB / 0.8864 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.9, allocations: 0.9205 MB / 0.8873 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.9, allocations: 4 kB / 0.8873 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01124/0.9112, allocations: 2.557 MB / 0.8898 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.9113, allocations: 8 kB / 0.8898 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.9113, allocations: 0 / 0.8898 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009407/0.9207, allocations: 1.73 MB / 0.8915 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.9212, allocations: 95.86 kB / 0.8916 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.9346, allocations: 7.148 MB / 0.8986 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008817/0.9355, allocations: 16.06 kB / 0.8986 GB, free: 15.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.9356, allocations: 47.92 kB / 0.8987 GB, free: 15.21 MB / 0.67 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.0004319/0.936, allocations: 205.8 kB / 0.8989 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.9362, allocations: 85.55 kB / 0.8989 GB, free: 14.92 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004903/0.9411, allocations: 1.739 MB / 0.9006 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.9411, allocations: 4 kB / 0.9007 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.9411, allocations: 4 kB / 0.9007 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.9411, allocations: 0 / 0.9007 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005934/0.9471, allocations: 2.528 MB / 0.9031 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9471, allocations: 0 / 0.9031 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.9475, allocations: 87.89 kB / 0.9032 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/0.9508, allocations: 0.8061 MB / 0.904 GB, free: 9.652 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.007e-05/0.9509, allocations: 15.94 kB / 0.904 GB, free: 9.637 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007259/0.9582, allocations: 4.857 MB / 0.9088 GB, free: 4.504 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9582, allocations: 4.062 kB / 0.9088 GB, free: 4.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/0.9638, allocations: 2.155 MB / 0.9109 GB, free: 2.305 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005315/0.9644, allocations: 244.3 kB / 0.9111 GB, free: 2.047 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.9645, allocations: 12 kB / 0.9111 GB, free: 2.035 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005613/0.965, allocations: 23.98 kB / 0.9111 GB, free: 2.012 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.9653, allocations: 56.42 kB / 0.9112 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.9653, allocations: 16 kB / 0.9112 GB, free: 1.941 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006933/0.966, allocations: 0.499 MB / 0.9117 GB, free: 1.445 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.966, allocations: 4 kB / 0.9117 GB, free: 1.441 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001013/0.967, allocations: 283.8 kB / 0.912 GB, free: 1.164 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.0005561/0.9676, allocations: 221.2 kB / 0.9122 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.9713, allocations: 1.402 MB / 0.9135 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9713, allocations: 0 / 0.9135 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.9732, allocations: 0.864 MB / 0.9144 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.9754, allocations: 461.2 kB / 0.9148 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.9785, allocations: 1.773 MB / 0.9166 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/0.9792, allocations: 0.9789 MB / 0.9175 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.9795, allocations: 71.41 kB / 0.9176 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/0.9795, allocations: 0 / 0.9176 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of Templates: time 0.02802/1.007, allocations: 19.45 MB / 0.9366 GB, free: 7.941 MB / 0.7012 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)