Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001553/0.001553, allocations: 112.6 kB / 16.37 MB, free: 6 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.001592/0.001592, allocations: 196 kB / 17.31 MB, free: 5.613 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.697/1.697, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002808/0.002808, allocations: 276.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.139/1.139, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 99.11 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2969, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003203/0.3001, allocations: 1.289 MB / 0.6829 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00077/0.3009, allocations: 306.8 kB / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.301, allocations: 0 / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.3011, allocations: 0 / 0.6832 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.3012, allocations: 15.92 kB / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.3017, allocations: 75.72 kB / 0.6832 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.3018, allocations: 39.78 kB / 0.6833 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.871e-05/0.3019, allocations: 7.984 kB / 0.6833 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.302, allocations: 23.92 kB / 0.6833 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.3021, allocations: 11.94 kB / 0.6833 GB, free: 5.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3021, allocations: 3.938 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.3023, allocations: 83.91 kB / 0.6834 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.3024, allocations: 8 kB / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.3024, allocations: 11.92 kB / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.3026, allocations: 75.78 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3027, allocations: 4 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.3027, allocations: 0 / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3027, allocations: 4 kB / 0.6835 GB, free: 5.48 MB / 494.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.0006272/0.3033, allocations: 347.4 kB / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.3034, allocations: 8.031 kB / 0.6838 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.711e-05/0.3035, allocations: 0.9375 kB / 0.6838 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.3037, allocations: 172.3 kB / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3037, allocations: 384 / 0.684 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3037, allocations: 4.375 kB / 0.684 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3039, allocations: 41.81 kB / 0.6841 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3039, allocations: 4 kB / 0.6841 GB, free: 4.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3039, allocations: 3.938 kB / 0.6841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3039, allocations: 0 / 0.6841 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.2e-05/0.304, allocations: 19.91 kB / 0.6841 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.3043, allocations: 157.7 kB / 0.6842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3044, allocations: 34.56 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.3044, allocations: 12.92 kB / 0.6843 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/0.306, allocations: 1.187 MB / 0.6854 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.306, allocations: 34.5 kB / 0.6855 GB, free: 3.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3061, allocations: 0 / 0.6855 GB, free: 3.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002529/0.3063, allocations: 57.53 kB / 0.6855 GB, free: 2.988 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3064, allocations: 55.41 kB / 0.6856 GB, free: 2.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3065, allocations: 105.8 kB / 0.6857 GB, free: 2.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3065, allocations: 25.7 kB / 0.6857 GB, free: 2.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.3066, allocations: 84.14 kB / 0.6858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.3066, allocations: 7.906 kB / 0.6858 GB, free: 2.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.3067, allocations: 13.72 kB / 0.6858 GB, free: 2.664 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3069, allocations: 322.8 kB / 0.6861 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.3069, allocations: 4 kB / 0.6861 GB, free: 2.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.3069, allocations: 8 kB / 0.6861 GB, free: 2.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.307, allocations: 16.86 kB / 0.6861 GB, free: 2.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.307, allocations: 3.938 kB / 0.6861 GB, free: 2.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.413e-05/0.3071, allocations: 49.62 kB / 0.6862 GB, free: 2.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3071, allocations: 4 kB / 0.6862 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3071, allocations: 0 / 0.6862 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3071, allocations: 0 / 0.6862 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.3072, allocations: 4 kB / 0.6862 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3072, allocations: 4 kB / 0.6862 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.3073, allocations: 7.891 kB / 0.6862 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3073, allocations: 4 kB / 0.6862 GB, free: 2.227 MB / 494.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 0.0001156/0.3074, allocations: 109.8 kB / 0.6863 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.3074, allocations: 3.938 kB / 0.6863 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.3076, allocations: 61.53 kB / 0.6864 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3076, allocations: 0 / 0.6864 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.3076, allocations: 0 / 0.6864 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3077, allocations: 7.938 kB / 0.6864 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3078, allocations: 161.7 kB / 0.6865 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3078, allocations: 0 / 0.6865 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.3079, allocations: 7.938 kB / 0.6866 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3079, allocations: 0 / 0.6866 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3079, allocations: 4 kB / 0.6866 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3079, allocations: 0 / 0.6866 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3079, allocations: 4 kB / 0.6866 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.3081, allocations: 85.33 kB / 0.6866 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.3082, allocations: 89.03 kB / 0.6867 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3082, allocations: 0 / 0.6867 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.3082, allocations: 0 / 0.6867 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.3083, allocations: 4 kB / 0.6867 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3083, allocations: 0 / 0.6867 GB, free: 1.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.634e-05/0.3084, allocations: 87.27 kB / 0.6868 GB, free: 1.508 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3084, allocations: 4 kB / 0.6868 GB, free: 1.504 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.3086, allocations: 27.94 kB / 0.6868 GB, free: 1.477 MB / 494.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.0002444/0.3089, allocations: 127.2 kB / 0.687 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.309, allocations: 19.98 kB / 0.687 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.309, allocations: 0 / 0.687 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.309, allocations: 7.938 kB / 0.687 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.3093, allocations: 11.94 kB / 0.687 GB, free: 1.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.3097, allocations: 122 kB / 0.6871 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.3101, allocations: 0.6807 MB / 0.6878 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.3101, allocations: 16.52 kB / 0.6878 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.3102, allocations: 7.438 kB / 0.6878 GB, free: 440 kB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3102, allocations: 0 / 0.6878 GB, free: 440 kB / 494.1 MB Notification: Performance of Templates: time 0.4728/0.783, allocations: 0.7839 MB / 0.6886 GB, free: 17.78 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)