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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8564/0.8564, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 403.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 109.7 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009707/0.0009708, allocations: 55.92 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1318, allocations: 80.2 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.4767/0.6085, allocations: 190.4 MB / 0.8261 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005982/0.6145, allocations: 4.062 MB / 0.8301 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007262/0.6153, allocations: 19.88 kB / 0.8301 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.6164, allocations: 397.9 kB / 0.8305 GB, free: 228 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.6195, allocations: 1.448 MB / 0.8319 GB, free: 14.77 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.6224, allocations: 1.239 MB / 0.8331 GB, free: 13.53 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.6248, allocations: 2.365 MB / 0.8354 GB, free: 11.16 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.6258, allocations: 0.8677 MB / 0.8362 GB, free: 10.28 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.6277, allocations: 0.8681 MB / 0.8371 GB, free: 9.406 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.6293, allocations: 0.8876 MB / 0.8379 GB, free: 8.516 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.6294, allocations: 76 kB / 0.838 GB, free: 8.441 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.6326, allocations: 1.574 MB / 0.8396 GB, free: 6.863 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.633, allocations: 334.9 kB / 0.8399 GB, free: 6.535 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005689/0.6335, allocations: 0.4938 MB / 0.8404 GB, free: 6.039 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.6356, allocations: 1.706 MB / 0.842 GB, free: 4.328 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6357, allocations: 7.875 kB / 0.842 GB, free: 4.32 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6357, allocations: 0 / 0.842 GB, free: 4.32 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.6357, allocations: 0 / 0.842 GB, free: 4.32 MB / 0.573 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.002901/0.6386, allocations: 1.441 MB / 0.8434 GB, free: 2.828 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6386, allocations: 8.031 kB / 0.8434 GB, free: 2.82 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.6401, allocations: 246.7 kB / 0.8437 GB, free: 2.578 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008999/0.641, allocations: 0.5876 MB / 0.8443 GB, free: 1.945 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.008e-05/0.641, allocations: 44.98 kB / 0.8443 GB, free: 1.898 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.6412, allocations: 52 kB / 0.8444 GB, free: 1.848 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.6426, allocations: 0.9609 MB / 0.8453 GB, free: 0.8164 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.6427, allocations: 4 kB / 0.8453 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.6428, allocations: 20 kB / 0.8453 GB, free: 0.793 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.6428, allocations: 35.92 kB / 0.8453 GB, free: 0.7578 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.6443, allocations: 0.9367 MB / 0.8463 GB, free: 15.82 MB / 0.5886 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.00534/0.6497, allocations: 4.259 MB / 0.8504 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009584/0.6506, allocations: 0.5915 MB / 0.851 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007788/0.6514, allocations: 0.5175 MB / 0.8515 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.6524, allocations: 0.8783 MB / 0.8524 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.6525, allocations: 42.94 kB / 0.8524 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001592/0.6541, allocations: 439.1 kB / 0.8528 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=50): time 3.397e-06/0.6541, allocations: 0 / 0.8528 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=50): time 0.0176/0.6717, allocations: 3.833 MB / 0.8566 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.6718, allocations: 63.78 kB / 0.8566 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/0.6727, allocations: 0.7117 MB / 0.8573 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.472e-05/0.6728, allocations: 33.7 kB / 0.8574 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.673, allocations: 324.6 kB / 0.8577 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.6732, allocations: 181.4 kB / 0.8578 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.6735, allocations: 146.1 kB / 0.858 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.6736, allocations: 325.9 kB / 0.8583 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.6742, allocations: 392.9 kB / 0.8587 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.675, allocations: 492 kB / 0.8591 GB, free: 2.145 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.6764, allocations: 0.918 MB / 0.86 GB, free: 1.199 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6764, allocations: 4 kB / 0.86 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01144/0.6879, allocations: 2.56 MB / 0.8625 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.6879, allocations: 4 kB / 0.8625 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6879, allocations: 4 kB / 0.8625 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009618/0.6976, allocations: 1.731 MB / 0.8642 GB, free: 12.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.6981, allocations: 95.73 kB / 0.8643 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.7102, allocations: 6.655 MB / 0.8708 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.7112, allocations: 35.83 kB / 0.8709 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.7114, allocations: 47.92 kB / 0.8709 GB, free: 5.762 MB / 0.6042 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.0004004/0.7118, allocations: 213.1 kB / 0.8711 GB, free: 5.547 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.7121, allocations: 79.06 kB / 0.8712 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005284/0.7173, allocations: 1.745 MB / 0.8729 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.7174, allocations: 8 kB / 0.8729 GB, free: 3.703 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.7174, allocations: 4 kB / 0.8729 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.7174, allocations: 7.984 kB / 0.8729 GB, free: 3.691 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006031/0.7234, allocations: 2.532 MB / 0.8754 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7235, allocations: 4.188 kB / 0.8754 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.7239, allocations: 87.89 kB / 0.8755 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/0.7274, allocations: 0.8095 MB / 0.8762 GB, free: 176 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/0.7275, allocations: 12 kB / 0.8763 GB, free: 164 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006511/0.734, allocations: 4.483 MB / 0.8806 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.734, allocations: 4 kB / 0.8806 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009827/0.7439, allocations: 4.991 MB / 0.8855 GB, free: 6.184 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.7443, allocations: 231.9 kB / 0.8857 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7444, allocations: 15.98 kB / 0.8858 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.745, allocations: 35.89 kB / 0.8858 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.7452, allocations: 56.38 kB / 0.8858 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.7453, allocations: 23.92 kB / 0.8859 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005923/0.7459, allocations: 0.499 MB / 0.8864 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7459, allocations: 0 / 0.8864 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001183/0.7471, allocations: 363.8 kB / 0.8867 GB, free: 4.957 MB / 0.6198 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.0004897/0.7476, allocations: 219.9 kB / 0.8869 GB, free: 4.746 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.7511, allocations: 1.457 MB / 0.8883 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7511, allocations: 0 / 0.8883 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.7531, allocations: 0.9186 MB / 0.8892 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.7556, allocations: 438.1 kB / 0.8896 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.7593, allocations: 2.311 MB / 0.8919 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.7599, allocations: 0.9946 MB / 0.8929 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000662/0.7606, allocations: 166.6 kB / 0.893 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.7608, allocations: 71.42 kB / 0.8931 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.7608, allocations: 0 / 0.8931 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of Templates: time 0.03463/0.7954, allocations: 22.54 MB / 0.9151 GB, free: 7.91 MB / 0.6511 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)