Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009503/0.0009504, allocations: 93.19 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 180.4 kB / 16.92 MB, free: 6.684 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.882/1.882, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7076/0.7076, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004241, allocations: 12 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2054, allocations: 77.53 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001925/0.2073, allocations: 0.9814 MB / 0.5609 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004816/0.2078, allocations: 127.6 kB / 0.561 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2079, allocations: 4 kB / 0.561 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.2079, allocations: 0 / 0.561 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.208, allocations: 7.922 kB / 0.5611 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.2083, allocations: 19.97 kB / 0.5611 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.267e-05/0.2083, allocations: 15.94 kB / 0.5611 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.657e-05/0.2084, allocations: 0 / 0.5611 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.2084, allocations: 15.91 kB / 0.5611 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.2085, allocations: 7.938 kB / 0.5611 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.2085, allocations: 4 kB / 0.5611 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.2087, allocations: 51.94 kB / 0.5612 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2087, allocations: 0 / 0.5612 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2088, allocations: 29.7 kB / 0.5612 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.209, allocations: 39.89 kB / 0.5612 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.209, allocations: 4 kB / 0.5612 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.209, allocations: 0 / 0.5612 GB, free: 7.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.209, allocations: 3.938 kB / 0.5612 GB, free: 7.688 MB / 430.1 MB 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.0005407/0.2096, allocations: 323.8 kB / 0.5615 GB, free: 7.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.2096, allocations: 12.03 kB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.2097, allocations: 0.9375 kB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.2099, allocations: 176.3 kB / 0.5617 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2099, allocations: 384 / 0.5617 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.2099, allocations: 384 / 0.5617 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.21, allocations: 37.83 kB / 0.5618 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.21, allocations: 0 / 0.5618 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.21, allocations: 0 / 0.5618 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.21, allocations: 0 / 0.5618 GB, free: 7.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.2101, allocations: 7.938 kB / 0.5618 GB, free: 7.051 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.2103, allocations: 157.7 kB / 0.5619 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.244e-05/0.2104, allocations: 22.61 kB / 0.5619 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.2104, allocations: 8.922 kB / 0.562 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009056/0.2113, allocations: 0.613 MB / 0.5626 GB, free: 6.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.2114, allocations: 38.5 kB / 0.5626 GB, free: 6.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.2114, allocations: 3.938 kB / 0.5626 GB, free: 6.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000163/0.2115, allocations: 49.62 kB / 0.5626 GB, free: 5.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.2116, allocations: 51.41 kB / 0.5627 GB, free: 5.895 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.2118, allocations: 93.86 kB / 0.5628 GB, free: 5.793 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2118, allocations: 25.7 kB / 0.5628 GB, free: 5.762 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.2118, allocations: 84.14 kB / 0.5629 GB, free: 5.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.2119, allocations: 8.031 kB / 0.5629 GB, free: 5.668 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.2119, allocations: 17.7 kB / 0.5629 GB, free: 5.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2121, allocations: 310.8 kB / 0.5632 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.2121, allocations: 0 / 0.5632 GB, free: 5.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.2121, allocations: 4 kB / 0.5632 GB, free: 5.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.2121, allocations: 12.86 kB / 0.5632 GB, free: 5.312 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2121, allocations: 3.938 kB / 0.5632 GB, free: 5.309 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.51e-05/0.2122, allocations: 49.62 kB / 0.5633 GB, free: 5.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2123, allocations: 8.094 kB / 0.5633 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2123, allocations: 4 kB / 0.5633 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.2123, allocations: 0 / 0.5633 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.424e-05/0.2123, allocations: 4 kB / 0.5633 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2124, allocations: 0 / 0.5633 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.834e-05/0.2124, allocations: 0 / 0.5633 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2124, allocations: 0 / 0.5633 GB, free: 5.238 MB / 430.1 MB 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 8.885e-05/0.2125, allocations: 109.8 kB / 0.5634 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.2125, allocations: 3.938 kB / 0.5634 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.2126, allocations: 52.75 kB / 0.5634 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2127, allocations: 0 / 0.5634 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2127, allocations: 3.938 kB / 0.5634 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2127, allocations: 4 kB / 0.5635 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.2129, allocations: 153.6 kB / 0.5636 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2129, allocations: 0 / 0.5636 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.213, allocations: 7.938 kB / 0.5636 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.213, allocations: 0 / 0.5636 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.213, allocations: 4 kB / 0.5636 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.213, allocations: 0 / 0.5636 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.213, allocations: 4.031 kB / 0.5636 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.083e-05/0.2131, allocations: 69.16 kB / 0.5637 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.2132, allocations: 85.03 kB / 0.5638 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2132, allocations: 7.938 kB / 0.5638 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.596e-05/0.2132, allocations: 0 / 0.5638 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.2132, allocations: 3.984 kB / 0.5638 GB, free: 4.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2132, allocations: 0 / 0.5638 GB, free: 4.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.133e-05/0.2133, allocations: 87.31 kB / 0.5639 GB, free: 4.555 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2133, allocations: 0 / 0.5639 GB, free: 4.555 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.2135, allocations: 16 kB / 0.5639 GB, free: 4.539 MB / 430.1 MB 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.0001877/0.2137, allocations: 107.2 kB / 0.564 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.2138, allocations: 8 kB / 0.564 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2138, allocations: 0 / 0.564 GB, free: 4.414 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.179e-05/0.2138, allocations: 4 kB / 0.564 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.2141, allocations: 24 kB / 0.564 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.2145, allocations: 110.6 kB / 0.5641 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.2148, allocations: 0.6731 MB / 0.5648 GB, free: 3.559 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.084e-05/0.2148, allocations: 3.984 kB / 0.5648 GB, free: 3.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.2149, allocations: 11.44 kB / 0.5648 GB, free: 3.543 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2149, allocations: 4 kB / 0.5648 GB, free: 3.539 MB / 430.1 MB Notification: Performance of Templates: time 0.003421/0.2183, allocations: 0.5713 MB / 0.5653 GB, free: 2.969 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)