Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.002029/0.002029, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.001698/0.001698, allocations: 193.9 kB / 17.3 MB, free: 5.48 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.685/1.685, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002739/0.002739, allocations: 294.5 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 97.73 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2921, allocations: 86.96 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002816/0.295, allocations: 1.267 MB / 0.6828 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003349/0.2954, allocations: 119.5 kB / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.2954, allocations: 0 / 0.6829 GB, free: 6.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.2954, allocations: 4 kB / 0.6829 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2956, allocations: 11.91 kB / 0.683 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2958, allocations: 35.91 kB / 0.683 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.2959, allocations: 19.92 kB / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.446e-05/0.296, allocations: 0 / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.296, allocations: 7.938 kB / 0.683 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.2961, allocations: 11.97 kB / 0.683 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2961, allocations: 0 / 0.683 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.2962, allocations: 51.95 kB / 0.6831 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.2963, allocations: 3.938 kB / 0.6831 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.2963, allocations: 15.86 kB / 0.6831 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2964, allocations: 35.89 kB / 0.6831 GB, free: 5.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2965, allocations: 0 / 0.6831 GB, free: 5.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.2965, allocations: 0 / 0.6831 GB, free: 5.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2965, allocations: 3.938 kB / 0.6831 GB, free: 5.898 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004339/0.2969, allocations: 327.6 kB / 0.6834 GB, free: 5.531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.297, allocations: 12.03 kB / 0.6835 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.297, allocations: 4.938 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.2972, allocations: 164.3 kB / 0.6836 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2972, allocations: 4.375 kB / 0.6836 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2972, allocations: 384 / 0.6836 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.396e-05/0.2973, allocations: 37.81 kB / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2973, allocations: 0 / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2973, allocations: 0 / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2974, allocations: 0 / 0.6837 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.2974, allocations: 7.938 kB / 0.6837 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.2976, allocations: 157.7 kB / 0.6838 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.2976, allocations: 26.61 kB / 0.6838 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.81e-05/0.2977, allocations: 4.859 kB / 0.6838 GB, free: 5.016 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007738/0.2984, allocations: 0.6091 MB / 0.6844 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.2985, allocations: 34.5 kB / 0.6845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.2985, allocations: 4 kB / 0.6845 GB, free: 4.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001658/0.2987, allocations: 45.64 kB / 0.6845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.2987, allocations: 51.41 kB / 0.6846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.2988, allocations: 101.8 kB / 0.6847 GB, free: 4.008 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2988, allocations: 25.7 kB / 0.6847 GB, free: 3.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.2988, allocations: 80.14 kB / 0.6848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.2989, allocations: 7.844 kB / 0.6848 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.2989, allocations: 13.72 kB / 0.6848 GB, free: 3.867 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.299, allocations: 319 kB / 0.6851 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.2991, allocations: 7.984 kB / 0.6851 GB, free: 3.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-06/0.2991, allocations: 0 / 0.6851 GB, free: 3.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.646e-05/0.2991, allocations: 16.86 kB / 0.6851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2991, allocations: 0 / 0.6851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.973e-05/0.2992, allocations: 41.58 kB / 0.6852 GB, free: 3.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.2992, allocations: 6.188 kB / 0.6852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2992, allocations: 96 / 0.6852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.2992, allocations: 4 kB / 0.6852 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.2993, allocations: 12.11 kB / 0.6852 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2993, allocations: 0 / 0.6852 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.2993, allocations: 0 / 0.6852 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2994, allocations: 4 kB / 0.6852 GB, free: 3.449 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 (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.133e-05/0.2994, allocations: 113.8 kB / 0.6853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.2995, allocations: 7.922 kB / 0.6853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.2996, allocations: 48.75 kB / 0.6853 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2996, allocations: 8.031 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2996, allocations: 0 / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2996, allocations: 0 / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.2997, allocations: 149.7 kB / 0.6855 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2997, allocations: 0 / 0.6855 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.2997, allocations: 7.938 kB / 0.6855 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2998, allocations: 4 kB / 0.6855 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2998, allocations: 0 / 0.6855 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2998, allocations: 0 / 0.6855 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2998, allocations: 0 / 0.6855 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.379e-05/0.2999, allocations: 69.03 kB / 0.6856 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.2999, allocations: 89.05 kB / 0.6857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2999, allocations: 0 / 0.6857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.3, allocations: 0 / 0.6857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.3, allocations: 3.938 kB / 0.6857 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.3, allocations: 0 / 0.6857 GB, free: 2.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.835e-05/0.3, allocations: 83.27 kB / 0.6857 GB, free: 2.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3, allocations: 0 / 0.6857 GB, free: 2.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.3003, allocations: 20.03 kB / 0.6858 GB, free: 2.754 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 (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.0001701/0.3005, allocations: 107.2 kB / 0.6859 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.3006, allocations: 11.98 kB / 0.6859 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3006, allocations: 0 / 0.6859 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.3006, allocations: 4 kB / 0.6859 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.3008, allocations: 4 kB / 0.6859 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.3011, allocations: 121.1 kB / 0.686 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3014, allocations: 0.6768 MB / 0.6867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.508e-05/0.3014, allocations: 3.938 kB / 0.6867 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.3014, allocations: 11.44 kB / 0.6867 GB, free: 1.758 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3014, allocations: 0 / 0.6867 GB, free: 1.758 MB / 494.1 MB Notification: Performance of Templates: time 0.002975/0.3044, allocations: 0.5954 MB / 0.6873 GB, free: 1.168 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)