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.001382/0.001382, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.00157/0.00157, allocations: 184 kB / 17.22 MB, free: 5.934 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.387/1.387, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.869/1.869, allocations: 292.3 MB / 0.5495 GB, free: 17.58 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.001454/0.001455, allocations: 63.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2638, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002504/0.2664, allocations: 1.235 MB / 0.7853 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002952/0.2667, allocations: 127.5 kB / 0.7854 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.2667, allocations: 0 / 0.7854 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.2668, allocations: 3.984 kB / 0.7854 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.2669, allocations: 3.938 kB / 0.7854 GB, free: 2.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.2671, allocations: 35.89 kB / 0.7854 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.2672, allocations: 11.94 kB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.2672, allocations: 7.984 kB / 0.7855 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.738e-05/0.2673, allocations: 4 kB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.2673, allocations: 15.86 kB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.2674, allocations: 4 kB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2675, allocations: 51.94 kB / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.2675, allocations: 0 / 0.7855 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.2676, allocations: 7.938 kB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2677, allocations: 40.22 kB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2677, allocations: 0 / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2677, allocations: 0 / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2677, allocations: 0 / 0.7856 GB, free: 2.273 MB / 0.6544 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.0004663/0.2682, allocations: 335.5 kB / 0.7859 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2683, allocations: 8.031 kB / 0.7859 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.2683, allocations: 8.828 kB / 0.7859 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.2685, allocations: 168.4 kB / 0.7861 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2685, allocations: 4.312 kB / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.2685, allocations: 384 / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.779e-05/0.2686, allocations: 34.25 kB / 0.7861 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2686, allocations: 192 / 0.7861 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2686, allocations: 3.938 kB / 0.7861 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2687, allocations: 7.938 kB / 0.7861 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.092e-05/0.2687, allocations: 7.938 kB / 0.7861 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.2689, allocations: 153.7 kB / 0.7863 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.269, allocations: 22.61 kB / 0.7863 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.269, allocations: 8.922 kB / 0.7863 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007662/0.2698, allocations: 0.6051 MB / 0.7869 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.2698, allocations: 34.56 kB / 0.7869 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2698, allocations: 0 / 0.7869 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001642/0.27, allocations: 49.56 kB / 0.787 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.27, allocations: 55.41 kB / 0.787 GB, free: 484 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.2701, allocations: 97.86 kB / 0.7871 GB, free: 376 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2701, allocations: 25.7 kB / 0.7871 GB, free: 344 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.2702, allocations: 80.14 kB / 0.7872 GB, free: 260 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.2702, allocations: 11.97 kB / 0.7872 GB, free: 248 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.2702, allocations: 21.7 kB / 0.7873 GB, free: 220 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3873/0.6575, allocations: 310.8 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.43e-05/0.6576, allocations: 1.188 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.6576, allocations: 1.812 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.6577, allocations: 12.11 kB / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.6577, allocations: 0 / 0.7876 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.974e-05/0.6578, allocations: 41.02 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6578, allocations: 6.516 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6578, allocations: 5.5 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.6579, allocations: 0 / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.658, allocations: 5.656 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.658, allocations: 3.75 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.658, allocations: 2.344 kB / 0.7876 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.658, allocations: 1 kB / 0.7876 GB, free: 48.55 MB / 0.6544 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 5.667e-05/0.6581, allocations: 108.5 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.6581, allocations: 3.25 kB / 0.7877 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.6582, allocations: 48.53 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6582, allocations: 5.719 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6582, allocations: 6.969 kB / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6582, allocations: 0 / 0.7878 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.453e-05/0.6583, allocations: 149.7 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6583, allocations: 2 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.6583, allocations: 2.656 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6583, allocations: 3.047 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.6584, allocations: 2.656 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.6584, allocations: 0.5 kB / 0.7879 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6584, allocations: 5.281 kB / 0.788 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.913e-05/0.6584, allocations: 61.95 kB / 0.788 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.6585, allocations: 78.94 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.6585, allocations: 9.859 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.743e-05/0.6585, allocations: 4.094 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.6585, allocations: 3.938 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.6585, allocations: 0 / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.384e-05/0.6586, allocations: 82.53 kB / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6586, allocations: 0 / 0.7882 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002508/0.6588, allocations: 14.56 kB / 0.7882 GB, free: 47.98 MB / 0.6544 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.0001562/0.659, allocations: 114.2 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.714e-05/0.6591, allocations: 11.5 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6591, allocations: 3 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.6591, allocations: 2.906 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.6594, allocations: 18.2 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.6596, allocations: 101.5 kB / 0.7884 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.6597, allocations: 0.6748 MB / 0.7891 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.6598, allocations: 3.656 kB / 0.7891 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.6598, allocations: 9.875 kB / 0.7891 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6598, allocations: 2.688 kB / 0.7891 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.002423/0.6622, allocations: 0.6018 MB / 0.7897 GB, free: 47.11 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)