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.008087/0.008087, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001547/0.001547, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7888/0.7888, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 71.45 kB / 0.5856 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1997, allocations: 80.92 MB / 0.6646 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.7666/0.9664, allocations: 192.6 MB / 0.8527 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007552/0.974, allocations: 4.017 MB / 0.8567 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.9755, allocations: 20.44 kB / 0.8567 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.977, allocations: 485 kB / 0.8571 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004583/0.9817, allocations: 1.602 MB / 0.8587 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.9857, allocations: 1.369 MB / 0.8601 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002785/0.9885, allocations: 1.63 MB / 0.8616 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.9898, allocations: 0.959 MB / 0.8626 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.9917, allocations: 0.9405 MB / 0.8635 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.993, allocations: 0.8604 MB / 0.8643 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.9932, allocations: 96 kB / 0.8644 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.9963, allocations: 1.305 MB / 0.8657 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.9968, allocations: 354.9 kB / 0.866 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006202/0.9974, allocations: 0.5094 MB / 0.8665 GB, free: 360 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002937/1, allocations: 1.636 MB / 0.8681 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1, allocations: 4 kB / 0.8681 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.883e-06/1, allocations: 4 kB / 0.8681 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.231e-05/1, allocations: 0 / 0.8681 GB, free: 14.7 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.003113/1.004, allocations: 1.452 MB / 0.8696 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.004, allocations: 9.109 kB / 0.8696 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/1.005, allocations: 234.8 kB / 0.8698 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009227/1.006, allocations: 0.6071 MB / 0.8704 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/1.006, allocations: 37 kB / 0.8704 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.006, allocations: 51.91 kB / 0.8705 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/1.008, allocations: 0.9707 MB / 0.8714 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.008, allocations: 7.938 kB / 0.8714 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/1.008, allocations: 16 kB / 0.8714 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/1.008, allocations: 31.98 kB / 0.8715 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/1.01, allocations: 0.9445 MB / 0.8724 GB, free: 10.19 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.005452/1.015, allocations: 4.251 MB / 0.8765 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/1.016, allocations: 0.5939 MB / 0.8771 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007946/1.017, allocations: 0.5221 MB / 0.8776 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/1.018, allocations: 0.8744 MB / 0.8785 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/1.018, allocations: 42.98 kB / 0.8785 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001502/1.02, allocations: 415.1 kB / 0.8789 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=50): time 3.477e-06/1.02, allocations: 0 / 0.8789 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=50): time 0.01713/1.037, allocations: 3.83 MB / 0.8827 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.037, allocations: 67.7 kB / 0.8827 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/1.038, allocations: 0.7078 MB / 0.8834 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/1.038, allocations: 37.7 kB / 0.8835 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/1.038, allocations: 328.5 kB / 0.8838 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.039, allocations: 173.4 kB / 0.8839 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/1.039, allocations: 150 kB / 0.8841 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.039, allocations: 330 kB / 0.8844 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/1.04, allocations: 392.9 kB / 0.8848 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/1.04, allocations: 489.5 kB / 0.8852 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.042, allocations: 0.918 MB / 0.8861 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.042, allocations: 0 / 0.8861 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01122/1.053, allocations: 2.556 MB / 0.8886 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/1.053, allocations: 8 kB / 0.8886 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.053, allocations: 3.125 kB / 0.8886 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009484/1.063, allocations: 1.741 MB / 0.8903 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/1.063, allocations: 87.88 kB / 0.8904 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/1.077, allocations: 7.143 MB / 0.8974 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008987/1.078, allocations: 20.05 kB / 0.8974 GB, free: 15.72 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.951e-05/1.078, allocations: 47.92 kB / 0.8975 GB, free: 15.67 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.0004558/1.078, allocations: 213.6 kB / 0.8977 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.078, allocations: 79.06 kB / 0.8977 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004921/1.083, allocations: 1.74 MB / 0.8994 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.083, allocations: 8 kB / 0.8995 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.083, allocations: 0 / 0.8995 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.083, allocations: 3.984 kB / 0.8995 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006155/1.09, allocations: 2.552 MB / 0.9019 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.09, allocations: 0 / 0.9019 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/1.09, allocations: 87.83 kB / 0.902 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/1.093, allocations: 0.8018 MB / 0.9028 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/1.094, allocations: 20.86 kB / 0.9028 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006913/1.1, allocations: 4.869 MB / 0.9076 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/1.1, allocations: 0 / 0.9076 GB, free: 4.918 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005583/1.106, allocations: 2.147 MB / 0.9097 GB, free: 2.727 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/1.107, allocations: 232 kB / 0.9099 GB, free: 2.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/1.107, allocations: 12.38 kB / 0.9099 GB, free: 2.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/1.108, allocations: 23.98 kB / 0.9099 GB, free: 2.445 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/1.108, allocations: 56.38 kB / 0.91 GB, free: 2.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/1.108, allocations: 27.98 kB / 0.91 GB, free: 2.363 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007036/1.109, allocations: 0.4951 MB / 0.9105 GB, free: 1.871 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.109, allocations: 0 / 0.9105 GB, free: 1.871 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00108/1.11, allocations: 295.7 kB / 0.9108 GB, free: 1.582 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.000521/1.11, allocations: 208.6 kB / 0.911 GB, free: 1.375 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003624/1.114, allocations: 1.461 MB / 0.9124 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.114, allocations: 4.25 kB / 0.9124 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.116, allocations: 0.9144 MB / 0.9133 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/1.118, allocations: 455.2 kB / 0.9137 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/1.121, allocations: 1.709 MB / 0.9154 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/1.122, allocations: 0.9828 MB / 0.9164 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007011/1.123, allocations: 166.6 kB / 0.9165 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/1.123, allocations: 71.41 kB / 0.9166 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of SimCode: time 2.415e-06/1.123, allocations: 0 / 0.9166 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.03848/1.161, allocations: 22.74 MB / 0.9388 GB, free: 4.945 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)