Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001258/0.001258, allocations: 105.6 kB / 16.37 MB, free: 6.477 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.001249/0.001249, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7665/0.7665, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 56.14 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3681, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002156/0.3703, allocations: 1.265 MB / 0.5827 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002811/0.3706, allocations: 125.9 kB / 0.5828 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.3707, allocations: 0.5938 kB / 0.5828 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.3707, allocations: 0 / 0.5828 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.3708, allocations: 9.734 kB / 0.5829 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.371, allocations: 36.45 kB / 0.5829 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.3711, allocations: 19.77 kB / 0.5829 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.3711, allocations: 1.469 kB / 0.5829 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.3711, allocations: 9.656 kB / 0.5829 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.3712, allocations: 6.359 kB / 0.5829 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3712, allocations: 1.062 kB / 0.5829 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3713, allocations: 48.55 kB / 0.583 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.3714, allocations: 0 / 0.583 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.3714, allocations: 10.33 kB / 0.583 GB, free: 26.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.3715, allocations: 34.81 kB / 0.583 GB, free: 26.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3715, allocations: 4.781 kB / 0.583 GB, free: 26.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3715, allocations: 1.406 kB / 0.583 GB, free: 26.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3715, allocations: 0.5 kB / 0.583 GB, free: 26.4 MB / 446.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.0003244/0.3719, allocations: 335.3 kB / 0.5833 GB, free: 26.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3719, allocations: 12.03 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.372, allocations: 0.9375 kB / 0.5834 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.3721, allocations: 169.4 kB / 0.5835 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.3721, allocations: 1.5 kB / 0.5835 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3721, allocations: 2.844 kB / 0.5835 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.237e-05/0.3722, allocations: 44.84 kB / 0.5836 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3722, allocations: 0 / 0.5836 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.3722, allocations: 2.656 kB / 0.5836 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3722, allocations: 0 / 0.5836 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.907e-05/0.3722, allocations: 3.75 kB / 0.5836 GB, free: 25.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.3724, allocations: 154.4 kB / 0.5837 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.3724, allocations: 25.64 kB / 0.5837 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.3724, allocations: 11.86 kB / 0.5838 GB, free: 25.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.373, allocations: 0.605 MB / 0.5843 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.373, allocations: 34.5 kB / 0.5844 GB, free: 24.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.373, allocations: 1.5 kB / 0.5844 GB, free: 24.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.3732, allocations: 48.48 kB / 0.5844 GB, free: 24.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.3732, allocations: 51.41 kB / 0.5845 GB, free: 24.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.295e-05/0.3733, allocations: 98.25 kB / 0.5846 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.3733, allocations: 28.02 kB / 0.5846 GB, free: 24.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.044e-05/0.3733, allocations: 84.14 kB / 0.5847 GB, free: 24.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3733, allocations: 1.219 kB / 0.5847 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.3734, allocations: 14.19 kB / 0.5847 GB, free: 24.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.3734, allocations: 316.1 kB / 0.585 GB, free: 24.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/0.3734, allocations: 5.359 kB / 0.585 GB, free: 24.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.3734, allocations: 3.75 kB / 0.585 GB, free: 24.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.3735, allocations: 10.48 kB / 0.585 GB, free: 24.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3735, allocations: 1.031 kB / 0.585 GB, free: 24.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.693e-05/0.3735, allocations: 50.83 kB / 0.5851 GB, free: 24.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3736, allocations: 5.625 kB / 0.5851 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3736, allocations: 0 / 0.5851 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3736, allocations: 1.906 kB / 0.5851 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.3737, allocations: 6.453 kB / 0.5851 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3737, allocations: 0.5938 kB / 0.5851 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.3737, allocations: 2.719 kB / 0.5851 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.3737, allocations: 0 / 0.5851 GB, free: 24.11 MB / 446.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 5.486e-05/0.3738, allocations: 109.9 kB / 0.5852 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.3738, allocations: 7.875 kB / 0.5852 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-05/0.3739, allocations: 47.62 kB / 0.5852 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3739, allocations: 5.203 kB / 0.5852 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3739, allocations: 0 / 0.5852 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3739, allocations: 4 kB / 0.5852 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.071e-05/0.374, allocations: 157.5 kB / 0.5854 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.374, allocations: 0.7188 kB / 0.5854 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.374, allocations: 7.375 kB / 0.5854 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.374, allocations: 1.844 kB / 0.5854 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.374, allocations: 1.125 kB / 0.5854 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.374, allocations: 3.938 kB / 0.5854 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3741, allocations: 1.25 kB / 0.5854 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.076e-05/0.3741, allocations: 63.97 kB / 0.5855 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.3741, allocations: 82.14 kB / 0.5855 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.3742, allocations: 1.25 kB / 0.5855 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.583e-05/0.3742, allocations: 0.9062 kB / 0.5856 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.3742, allocations: 5.375 kB / 0.5856 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.3742, allocations: 0.625 kB / 0.5856 GB, free: 23.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.849e-05/0.3742, allocations: 84.64 kB / 0.5856 GB, free: 23.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3742, allocations: 0 / 0.5856 GB, free: 23.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001915/0.3744, allocations: 14.72 kB / 0.5857 GB, free: 23.48 MB / 446.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.0001328/0.3746, allocations: 116.7 kB / 0.5858 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.3747, allocations: 16.92 kB / 0.5858 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3747, allocations: 0 / 0.5858 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.3747, allocations: 4.688 kB / 0.5858 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.3749, allocations: 4.719 kB / 0.5858 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.3751, allocations: 108.9 kB / 0.5859 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.854e-05/0.3752, allocations: 0.6813 MB / 0.5866 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.643e-05/0.3752, allocations: 2.438 kB / 0.5866 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.3753, allocations: 9.938 kB / 0.5866 GB, free: 22.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3753, allocations: 2.469 kB / 0.5866 GB, free: 22.55 MB / 446.1 MB Notification: Performance of Templates: time 0.002527/0.3778, allocations: 0.5927 MB / 0.5871 GB, free: 22.27 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)