Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001422/0.001422, allocations: 103.5 kB / 15.98 MB, free: 5.891 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.001632/0.001633, allocations: 191.9 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 222.8 MB, free: 4.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.47 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2634, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002348/0.2658, allocations: 1.301 MB / 0.7848 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.2661, allocations: 127.5 kB / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.2661, allocations: 0 / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.2661, allocations: 0 / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.2662, allocations: 3.938 kB / 0.7849 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.2665, allocations: 35.89 kB / 0.7849 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.922e-05/0.2665, allocations: 11.92 kB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.2666, allocations: 4 kB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.2666, allocations: 4 kB / 0.785 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.2667, allocations: 11.94 kB / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2667, allocations: 0 / 0.785 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.2668, allocations: 55.88 kB / 0.785 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.2668, allocations: 4 kB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.2669, allocations: 4 kB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.409e-05/0.2669, allocations: 32.16 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.267, allocations: 0 / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.267, allocations: 0 / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.267, allocations: 0 / 0.7851 GB, free: 12.27 MB / 0.6075 GB 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.000391/0.2674, allocations: 343.4 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2674, allocations: 8.031 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2674, allocations: 4.938 kB / 0.7854 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2676, allocations: 164.4 kB / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2676, allocations: 384 / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.2676, allocations: 384 / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.304e-05/0.2677, allocations: 42.19 kB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.2677, allocations: 192 / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2677, allocations: 3.938 kB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2677, allocations: 0 / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.2678, allocations: 8 kB / 0.7856 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.2679, allocations: 153.7 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.268, allocations: 22.61 kB / 0.7858 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.268, allocations: 8.922 kB / 0.7858 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007019/0.2687, allocations: 0.6091 MB / 0.7864 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.2688, allocations: 38.5 kB / 0.7864 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2688, allocations: 0 / 0.7864 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.2689, allocations: 41.64 kB / 0.7865 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.269, allocations: 55.41 kB / 0.7865 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.269, allocations: 97.84 kB / 0.7866 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.2691, allocations: 25.7 kB / 0.7866 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.2691, allocations: 84.14 kB / 0.7867 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.2691, allocations: 7.844 kB / 0.7867 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.2692, allocations: 17.84 kB / 0.7867 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2693, allocations: 310.8 kB / 0.787 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.2693, allocations: 7.984 kB / 0.787 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-06/0.2693, allocations: 7.938 kB / 0.7871 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/0.2694, allocations: 8.859 kB / 0.7871 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2694, allocations: 0 / 0.7871 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.753e-05/0.2694, allocations: 45.64 kB / 0.7871 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2694, allocations: 8.094 kB / 0.7871 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2695, allocations: 3.938 kB / 0.7871 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2695, allocations: 0 / 0.7871 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.2695, allocations: 7.984 kB / 0.7871 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2695, allocations: 0 / 0.7871 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.2696, allocations: 3.938 kB / 0.7871 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.2696, allocations: 0 / 0.7871 GB, free: 9.805 MB / 0.6075 GB 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 7.031e-05/0.2696, allocations: 110.5 kB / 0.7872 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.2697, allocations: 7.844 kB / 0.7872 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.2698, allocations: 52.75 kB / 0.7873 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2698, allocations: 0 / 0.7873 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2698, allocations: 192 / 0.7873 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2698, allocations: 4 kB / 0.7873 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2699, allocations: 153.7 kB / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2699, allocations: 0 / 0.7874 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.2699, allocations: 4 kB / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2699, allocations: 0 / 0.7874 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.27, allocations: 7.938 kB / 0.7875 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.27, allocations: 0 / 0.7875 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.27, allocations: 32 / 0.7875 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.806e-05/0.27, allocations: 73.06 kB / 0.7875 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2701, allocations: 77.11 kB / 0.7876 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.2701, allocations: 7.938 kB / 0.7876 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.2701, allocations: 0 / 0.7876 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.2701, allocations: 0 / 0.7876 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.2702, allocations: 0 / 0.7876 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.702e-05/0.2702, allocations: 91.3 kB / 0.7877 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2702, allocations: 0 / 0.7877 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001961/0.2704, allocations: 12 kB / 0.7877 GB, free: 9.109 MB / 0.6075 GB 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.0001623/0.2706, allocations: 107.2 kB / 0.7878 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.2707, allocations: 15.98 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2707, allocations: 3.938 kB / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.2707, allocations: 4 kB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.2709, allocations: 8.125 kB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.2712, allocations: 139.5 kB / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.2715, allocations: 0.6768 MB / 0.7886 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.2715, allocations: 11.44 kB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2715, allocations: 0 / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of Templates: time 0.002104/0.2736, allocations: 0.6159 MB / 0.7892 GB, free: 7.469 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)