Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 103.3 kB / 16.27 MB, free: 5.961 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.001087/0.001087, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8302/0.8302, allocations: 132.2 MB / 423.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 67.89 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3267, allocations: 80.19 MB / 0.5807 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002041/0.3288, allocations: 1.286 MB / 0.582 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005058/0.3293, allocations: 305.1 kB / 0.5823 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.3294, allocations: 0 / 0.5823 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.3294, allocations: 0 / 0.5823 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.3295, allocations: 22.31 kB / 0.5823 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.3298, allocations: 78.81 kB / 0.5824 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.779e-05/0.3298, allocations: 33.58 kB / 0.5824 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.3299, allocations: 6.297 kB / 0.5824 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.33, allocations: 27.11 kB / 0.5825 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.33, allocations: 13.73 kB / 0.5825 GB, free: 26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.33, allocations: 1.156 kB / 0.5825 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.3302, allocations: 83.38 kB / 0.5825 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3302, allocations: 1.25 kB / 0.5825 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.3302, allocations: 9.875 kB / 0.5826 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3304, allocations: 84.7 kB / 0.5826 GB, free: 25.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3304, allocations: 0 / 0.5826 GB, free: 25.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3304, allocations: 0 / 0.5826 GB, free: 25.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.3304, allocations: 0 / 0.5826 GB, free: 25.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002769/0.3307, allocations: 352.3 kB / 0.583 GB, free: 25.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.3308, allocations: 10.09 kB / 0.583 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.3308, allocations: 7.031 kB / 0.583 GB, free: 25.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.911e-05/0.3309, allocations: 170.9 kB / 0.5832 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3309, allocations: 2.375 kB / 0.5832 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.3309, allocations: 1.781 kB / 0.5832 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.528e-05/0.331, allocations: 44.22 kB / 0.5832 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.331, allocations: 4.734 kB / 0.5832 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.331, allocations: 0 / 0.5832 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.331, allocations: 5.031 kB / 0.5832 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.3311, allocations: 15.58 kB / 0.5832 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.3312, allocations: 160.2 kB / 0.5834 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.33e-05/0.3313, allocations: 36.41 kB / 0.5834 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.3314, allocations: 8.547 kB / 0.5834 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000851/0.3322, allocations: 1.184 MB / 0.5846 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3322, allocations: 37.09 kB / 0.5846 GB, free: 23.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3322, allocations: 0 / 0.5846 GB, free: 23.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000136/0.3324, allocations: 52.56 kB / 0.5847 GB, free: 23.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.3324, allocations: 53.66 kB / 0.5847 GB, free: 23.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.908e-05/0.3325, allocations: 107.2 kB / 0.5848 GB, free: 23.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3325, allocations: 30.83 kB / 0.5848 GB, free: 23.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.318e-05/0.3325, allocations: 80.14 kB / 0.5849 GB, free: 23.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.3325, allocations: 14.48 kB / 0.5849 GB, free: 23.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.3326, allocations: 18.09 kB / 0.585 GB, free: 23.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.3326, allocations: 317.2 kB / 0.5853 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.3326, allocations: 6.688 kB / 0.5853 GB, free: 22.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.3326, allocations: 3.875 kB / 0.5853 GB, free: 22.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.3e-05/0.3327, allocations: 16.61 kB / 0.5853 GB, free: 22.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.3327, allocations: 0 / 0.5853 GB, free: 22.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.49e-05/0.3328, allocations: 55.16 kB / 0.5853 GB, free: 22.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3328, allocations: 4.844 kB / 0.5853 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3328, allocations: 0 / 0.5853 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.366e-05/0.3329, allocations: 3.406 kB / 0.5853 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.3329, allocations: 4.156 kB / 0.5853 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3329, allocations: 5.547 kB / 0.5853 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.333, allocations: 0 / 0.5853 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.333, allocations: 5.031 kB / 0.5854 GB, free: 22.89 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 (3): * Single equations (assignments): 3 * 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.423e-05/0.333, allocations: 112.8 kB / 0.5855 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.333, allocations: 10.44 kB / 0.5855 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.3332, allocations: 57.59 kB / 0.5855 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3332, allocations: 1.094 kB / 0.5855 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3332, allocations: 0.5938 kB / 0.5855 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3332, allocations: 1.219 kB / 0.5855 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.186e-05/0.3333, allocations: 164.4 kB / 0.5857 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3333, allocations: 0 / 0.5857 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.3333, allocations: 9.781 kB / 0.5857 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3333, allocations: 2.469 kB / 0.5857 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3333, allocations: 5.469 kB / 0.5857 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3333, allocations: 0 / 0.5857 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3333, allocations: 3.984 kB / 0.5857 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.295e-05/0.3334, allocations: 69.69 kB / 0.5858 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.3335, allocations: 95.69 kB / 0.5859 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.3335, allocations: 5.094 kB / 0.5859 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.3335, allocations: 1.375 kB / 0.5859 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.3335, allocations: 5.375 kB / 0.5859 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3335, allocations: 1.25 kB / 0.5859 GB, free: 22.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.3336, allocations: 87.3 kB / 0.586 GB, free: 22.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3336, allocations: 0 / 0.586 GB, free: 22.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.3338, allocations: 28.97 kB / 0.586 GB, free: 22.22 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 (3): * Single equations (assignments): 3 * 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.0001476/0.334, allocations: 124.8 kB / 0.5861 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.119e-05/0.3341, allocations: 14.67 kB / 0.5861 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3341, allocations: 0 / 0.5861 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.3341, allocations: 13.91 kB / 0.5861 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.3343, allocations: 9.609 kB / 0.5861 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.3346, allocations: 153 kB / 0.5863 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.3347, allocations: 0.679 MB / 0.587 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.3348, allocations: 10.56 kB / 0.587 GB, free: 21.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3348, allocations: 0 / 0.587 GB, free: 21.25 MB / 446.1 MB Notification: Performance of Templates: time 0.001983/0.3367, allocations: 0.7283 MB / 0.5877 GB, free: 20.92 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)