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.001092/0.001092, allocations: 103.5 kB / 16.27 MB, free: 5.98 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.001098/0.001099, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8102/0.8102, allocations: 135.1 MB / 426.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.89 kB / 0.506 GB, free: 8.438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3258, allocations: 80.91 MB / 0.585 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002125/0.3279, allocations: 1.254 MB / 0.5862 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.3282, allocations: 125 kB / 0.5864 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.3282, allocations: 0 / 0.5864 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.3283, allocations: 0 / 0.5864 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.634e-05/0.3284, allocations: 9.453 kB / 0.5864 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.3286, allocations: 40.48 kB / 0.5864 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.071e-05/0.3286, allocations: 11.47 kB / 0.5864 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.509e-05/0.3287, allocations: 2.75 kB / 0.5864 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.3287, allocations: 6.672 kB / 0.5864 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.3288, allocations: 14.48 kB / 0.5864 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3288, allocations: 0.875 kB / 0.5864 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.3289, allocations: 48 kB / 0.5865 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.3289, allocations: 3.188 kB / 0.5865 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.329, allocations: 6.812 kB / 0.5865 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.3291, allocations: 37.02 kB / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3291, allocations: 5.375 kB / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3291, allocations: 0 / 0.5865 GB, free: 24.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3291, allocations: 0.7188 kB / 0.5865 GB, free: 24.1 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.0003138/0.3294, allocations: 332.1 kB / 0.5868 GB, free: 23.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3295, allocations: 11.55 kB / 0.5869 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.3295, allocations: 1.562 kB / 0.5869 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.039e-05/0.3296, allocations: 170.9 kB / 0.587 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3296, allocations: 1.844 kB / 0.587 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.3296, allocations: 1.625 kB / 0.587 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.836e-05/0.3297, allocations: 32.58 kB / 0.5871 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.3297, allocations: 1.312 kB / 0.5871 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.3297, allocations: 1.469 kB / 0.5871 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3297, allocations: 0 / 0.5871 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.3298, allocations: 8 kB / 0.5871 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.3299, allocations: 154.3 kB / 0.5872 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/0.3299, allocations: 25.39 kB / 0.5872 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.3299, allocations: 15.56 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.3305, allocations: 0.6116 MB / 0.5879 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.3306, allocations: 40.91 kB / 0.5879 GB, free: 22.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3306, allocations: 1.469 kB / 0.5879 GB, free: 22.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001243/0.3307, allocations: 43.03 kB / 0.5879 GB, free: 22.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.3307, allocations: 52.53 kB / 0.588 GB, free: 22.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.398e-05/0.3308, allocations: 98.8 kB / 0.5881 GB, free: 22.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.3308, allocations: 26.86 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.47e-05/0.3308, allocations: 85.09 kB / 0.5882 GB, free: 22.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.3308, allocations: 5.094 kB / 0.5882 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.3309, allocations: 17.62 kB / 0.5882 GB, free: 22.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.013e-05/0.3309, allocations: 312.2 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.3309, allocations: 2.188 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-06/0.3309, allocations: 2.125 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.331, allocations: 19.05 kB / 0.5885 GB, free: 21.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.331, allocations: 1.25 kB / 0.5885 GB, free: 21.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.462e-05/0.331, allocations: 50.41 kB / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.331, allocations: 5.844 kB / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3311, allocations: 0 / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3311, allocations: 2.906 kB / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.644e-05/0.3311, allocations: 2.875 kB / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3311, allocations: 0 / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.3312, allocations: 5.25 kB / 0.5886 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3312, allocations: 3 kB / 0.5886 GB, free: 21.8 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 4.063e-05/0.3312, allocations: 109.8 kB / 0.5887 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.3312, allocations: 5.062 kB / 0.5887 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.3313, allocations: 43.11 kB / 0.5887 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3313, allocations: 5 kB / 0.5888 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3313, allocations: 1 kB / 0.5888 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3313, allocations: 5.047 kB / 0.5888 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.235e-05/0.3314, allocations: 149.1 kB / 0.5889 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3314, allocations: 0.5938 kB / 0.5889 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.3314, allocations: 11.73 kB / 0.5889 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3314, allocations: 0.5625 kB / 0.5889 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.3314, allocations: 0.9375 kB / 0.5889 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3314, allocations: 1.031 kB / 0.5889 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3314, allocations: 0 / 0.5889 GB, free: 21.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.598e-05/0.3315, allocations: 61.23 kB / 0.589 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.3315, allocations: 90 kB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.3315, allocations: 1.844 kB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.3316, allocations: 0 / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.3316, allocations: 1.594 kB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3316, allocations: 6.938 kB / 0.5891 GB, free: 21.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.929e-05/0.3316, allocations: 77.84 kB / 0.5891 GB, free: 21.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3316, allocations: 3.938 kB / 0.5891 GB, free: 21.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001967/0.3318, allocations: 19.78 kB / 0.5892 GB, free: 21.18 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.0001435/0.332, allocations: 113.3 kB / 0.5893 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.858e-05/0.3321, allocations: 8.5 kB / 0.5893 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3321, allocations: 0 / 0.5893 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.3321, allocations: 8.922 kB / 0.5893 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.3323, allocations: 15.25 kB / 0.5893 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.3325, allocations: 142.2 kB / 0.5894 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.007e-05/0.3326, allocations: 0.6717 MB / 0.5901 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.3327, allocations: 10.78 kB / 0.5901 GB, free: 20.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3327, allocations: 0 / 0.5901 GB, free: 20.21 MB / 446.1 MB Notification: Performance of Templates: time 0.001698/0.3344, allocations: 0.6013 MB / 0.5907 GB, free: 19.95 MB / 446.1 MB 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)