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.001843/0.001843, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.002105/0.002105, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.559/1.559, allocations: 222.9 MB / 241 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.807/0.807, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.36 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1487, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002692/0.1514, allocations: 1.257 MB / 0.6665 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000359/0.1518, allocations: 127.8 kB / 0.6666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.1518, allocations: 4 kB / 0.6667 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.1519, allocations: 0 / 0.6667 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.152, allocations: 3.938 kB / 0.6667 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1522, allocations: 43.88 kB / 0.6667 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.1523, allocations: 11.94 kB / 0.6667 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.1523, allocations: 8 kB / 0.6667 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.1524, allocations: 3.938 kB / 0.6667 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.1524, allocations: 7.984 kB / 0.6667 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.1524, allocations: 0 / 0.6667 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1526, allocations: 51.94 kB / 0.6668 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.1526, allocations: 7.984 kB / 0.6668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1526, allocations: 7.938 kB / 0.6668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1528, allocations: 31.95 kB / 0.6668 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1528, allocations: 0 / 0.6668 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1528, allocations: 0 / 0.6668 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.1528, allocations: 4 kB / 0.6668 GB, free: 4.211 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.000414/0.1532, allocations: 339.4 kB / 0.6671 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1533, allocations: 13.05 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.1533, allocations: 8.875 kB / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1534, allocations: 164.4 kB / 0.6673 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1535, allocations: 4.375 kB / 0.6673 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-06/0.1535, allocations: 384 / 0.6673 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.5e-05/0.1536, allocations: 33.64 kB / 0.6674 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1536, allocations: 4 kB / 0.6674 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.1536, allocations: 0 / 0.6674 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1536, allocations: 0 / 0.6674 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.1536, allocations: 4 kB / 0.6674 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.1538, allocations: 157.6 kB / 0.6675 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.307e-05/0.1539, allocations: 26.52 kB / 0.6675 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.1539, allocations: 8.922 kB / 0.6676 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/0.1546, allocations: 0.609 MB / 0.6681 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1546, allocations: 34.56 kB / 0.6682 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1546, allocations: 0 / 0.6682 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.1548, allocations: 41.69 kB / 0.6682 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1548, allocations: 55.34 kB / 0.6683 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.162e-05/0.1549, allocations: 97.86 kB / 0.6684 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1549, allocations: 25.7 kB / 0.6684 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.155, allocations: 88.27 kB / 0.6685 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.155, allocations: 7.891 kB / 0.6685 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.155, allocations: 21.64 kB / 0.6685 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1552, allocations: 314.8 kB / 0.6688 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.1552, allocations: 0 / 0.6688 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.293e-05/0.1552, allocations: 4 kB / 0.6688 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.1553, allocations: 12.86 kB / 0.6688 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1553, allocations: 4.062 kB / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.531e-05/0.1553, allocations: 45.56 kB / 0.6689 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1554, allocations: 8 kB / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1554, allocations: 0 / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1554, allocations: 0 / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-05/0.1555, allocations: 8.188 kB / 0.6689 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1555, allocations: 0 / 0.6689 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.1555, allocations: 3.938 kB / 0.6689 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1555, allocations: 0 / 0.6689 GB, free: 1.746 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 7.873e-05/0.1556, allocations: 121.8 kB / 0.669 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.1556, allocations: 7.922 kB / 0.669 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.734e-05/0.1557, allocations: 44.81 kB / 0.6691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1557, allocations: 0 / 0.6691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1557, allocations: 0 / 0.6691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1557, allocations: 0 / 0.6691 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.1558, allocations: 149.7 kB / 0.6692 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1559, allocations: 3.938 kB / 0.6692 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.1559, allocations: 7.938 kB / 0.6692 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1559, allocations: 0 / 0.6692 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1559, allocations: 8.031 kB / 0.6692 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1559, allocations: 0 / 0.6692 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1559, allocations: 4 kB / 0.6692 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.525e-05/0.156, allocations: 61.12 kB / 0.6693 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1561, allocations: 84.95 kB / 0.6694 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1561, allocations: 0 / 0.6694 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.1561, allocations: 0 / 0.6694 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.1561, allocations: 12.02 kB / 0.6694 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.1561, allocations: 0 / 0.6694 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.384e-05/0.1562, allocations: 79.28 kB / 0.6694 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1562, allocations: 0 / 0.6694 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.1564, allocations: 12 kB / 0.6695 GB, free: 1.055 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.0001695/0.1565, allocations: 120.5 kB / 0.6696 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.462e-05/0.1566, allocations: 8 kB / 0.6696 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1566, allocations: 0 / 0.6696 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.1567, allocations: 8.062 kB / 0.6696 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.1569, allocations: 15.86 kB / 0.6696 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.1572, allocations: 123.8 kB / 0.6697 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1574, allocations: 0.6768 MB / 0.6704 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.1574, allocations: 11.38 kB / 0.6704 GB, free: 28 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1575, allocations: 0 / 0.6704 GB, free: 28 kB / 0.4981 GB Notification: Performance of Templates: time 0.00209/0.1596, allocations: 0.6138 MB / 0.671 GB, free: 15.42 MB / 0.5137 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)