Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007933/0.007933, allocations: 96.31 kB / 15.73 MB, free: 6.039 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.001614/0.001614, allocations: 195.6 kB / 16.67 MB, free: 5.965 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.472, allocations: 80.92 MB / 0.6646 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002266/0.4743, allocations: 1.259 MB / 0.6659 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003423/0.4747, allocations: 118.5 kB / 0.666 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.4747, allocations: 0 / 0.666 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.4748, allocations: 3.984 kB / 0.666 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.681e-05/0.4749, allocations: 5.156 kB / 0.666 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.4751, allocations: 39.88 kB / 0.666 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.4752, allocations: 13.62 kB / 0.666 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.4753, allocations: 1.469 kB / 0.666 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.4753, allocations: 11.97 kB / 0.6661 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.4754, allocations: 6.672 kB / 0.6661 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.4754, allocations: 0 / 0.6661 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.4756, allocations: 53.06 kB / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.4756, allocations: 0 / 0.6661 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.4756, allocations: 6.438 kB / 0.6661 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.4758, allocations: 41.67 kB / 0.6662 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4758, allocations: 1.156 kB / 0.6662 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4758, allocations: 4 kB / 0.6662 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4758, allocations: 0 / 0.6662 GB, free: 6.398 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003885/0.4762, allocations: 334.9 kB / 0.6665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4762, allocations: 9.844 kB / 0.6665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.4763, allocations: 2.156 kB / 0.6665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4764, allocations: 165.7 kB / 0.6666 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4764, allocations: 4.375 kB / 0.6667 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.4764, allocations: 6.359 kB / 0.6667 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.135e-05/0.4765, allocations: 44.34 kB / 0.6667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4765, allocations: 0 / 0.6667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4766, allocations: 1.094 kB / 0.6667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4766, allocations: 0 / 0.6667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.109e-05/0.4766, allocations: 3.938 kB / 0.6667 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.4768, allocations: 152.3 kB / 0.6669 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.4768, allocations: 26.89 kB / 0.6669 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.317e-05/0.4769, allocations: 11.61 kB / 0.6669 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.4775, allocations: 0.6117 MB / 0.6675 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.4775, allocations: 35.81 kB / 0.6675 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.4775, allocations: 0 / 0.6675 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.4777, allocations: 38.92 kB / 0.6676 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.4778, allocations: 56.95 kB / 0.6676 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.42e-05/0.4778, allocations: 98.42 kB / 0.6677 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.4779, allocations: 29.7 kB / 0.6677 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.4779, allocations: 80.14 kB / 0.6678 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.4779, allocations: 9.484 kB / 0.6678 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.4779, allocations: 12.66 kB / 0.6678 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.478, allocations: 314.8 kB / 0.6681 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.478, allocations: 2.531 kB / 0.6681 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.478, allocations: 6.406 kB / 0.6681 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.4781, allocations: 18.27 kB / 0.6682 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4781, allocations: 0 / 0.6682 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.549e-05/0.4782, allocations: 49.62 kB / 0.6682 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4782, allocations: 9.297 kB / 0.6682 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4782, allocations: 1.156 kB / 0.6682 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4782, allocations: 0 / 0.6682 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.4783, allocations: 6.688 kB / 0.6682 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4783, allocations: 1.531 kB / 0.6682 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.4783, allocations: 3.938 kB / 0.6682 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4783, allocations: 1.5 kB / 0.6682 GB, free: 4.074 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/0.4784, allocations: 112.9 kB / 0.6683 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.4784, allocations: 3.938 kB / 0.6683 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.781e-05/0.4785, allocations: 46.31 kB / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4785, allocations: 0 / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4785, allocations: 1.094 kB / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4785, allocations: 0 / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.899e-05/0.4786, allocations: 152.4 kB / 0.6685 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4786, allocations: 5.312 kB / 0.6685 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.4787, allocations: 6.438 kB / 0.6685 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4787, allocations: 5.375 kB / 0.6685 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.4787, allocations: 0 / 0.6685 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4787, allocations: 0 / 0.6685 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4787, allocations: 5.125 kB / 0.6686 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.053e-05/0.4788, allocations: 62.53 kB / 0.6686 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.4788, allocations: 82.14 kB / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.4788, allocations: 0 / 0.6687 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.554e-05/0.4788, allocations: 5.656 kB / 0.6687 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.4789, allocations: 0 / 0.6687 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.4789, allocations: 5.547 kB / 0.6687 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.526e-05/0.4789, allocations: 86.55 kB / 0.6688 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4789, allocations: 3.938 kB / 0.6688 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002019/0.4791, allocations: 14.81 kB / 0.6688 GB, free: 3.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001596/0.4793, allocations: 114 kB / 0.6689 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.788e-05/0.4794, allocations: 14.75 kB / 0.6689 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4794, allocations: 0 / 0.6689 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.4794, allocations: 8.156 kB / 0.6689 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4796, allocations: 16.02 kB / 0.6689 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.4799, allocations: 103.6 kB / 0.669 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.899e-05/0.48, allocations: 0.6753 MB / 0.6697 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.48, allocations: 6.438 kB / 0.6697 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.423e-05/0.48, allocations: 8.969 kB / 0.6697 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.48, allocations: 0 / 0.6697 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of Templates: time 0.002921/0.483, allocations: 0.5954 MB / 0.6703 GB, free: 2.184 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)