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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 194.4 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 92.81 kB / 0.748 GB, free: 61.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 55.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2555, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002379/0.2579, allocations: 1.312 MB / 0.9835 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.2584, allocations: 127.5 kB / 0.9836 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.2584, allocations: 4 kB / 0.9836 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2584, allocations: 4 kB / 0.9836 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2585, allocations: 7.922 kB / 0.9836 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.2588, allocations: 27.95 kB / 0.9837 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.985e-05/0.2589, allocations: 11.94 kB / 0.9837 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.073e-05/0.2589, allocations: 0 / 0.9837 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.259, allocations: 11.92 kB / 0.9837 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.259, allocations: 4 kB / 0.9837 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.2591, allocations: 4 kB / 0.9837 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.2592, allocations: 55.88 kB / 0.9837 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.2592, allocations: 3.984 kB / 0.9837 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.2593, allocations: 7.938 kB / 0.9838 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2595, allocations: 36.23 kB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2595, allocations: 0 / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2595, allocations: 0 / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2595, allocations: 0 / 0.9838 GB, free: 8.742 MB / 0.7136 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.0004992/0.26, allocations: 339.4 kB / 0.9841 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.2601, allocations: 8.031 kB / 0.9841 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.2601, allocations: 4.938 kB / 0.9841 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.2603, allocations: 168.4 kB / 0.9843 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2603, allocations: 384 / 0.9843 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.2603, allocations: 384 / 0.9843 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.2604, allocations: 30.27 kB / 0.9843 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2604, allocations: 192 / 0.9843 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2605, allocations: 3.938 kB / 0.9843 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2605, allocations: 0 / 0.9843 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.277e-05/0.2605, allocations: 11.94 kB / 0.9843 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.2607, allocations: 153.7 kB / 0.9845 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.2608, allocations: 22.61 kB / 0.9845 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.2608, allocations: 12.86 kB / 0.9845 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008137/0.2617, allocations: 0.6051 MB / 0.9851 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2617, allocations: 38.56 kB / 0.9851 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.714e-06/0.2617, allocations: 4 kB / 0.9851 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.2619, allocations: 49.55 kB / 0.9852 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.262, allocations: 55.41 kB / 0.9852 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2621, allocations: 97.86 kB / 0.9853 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2621, allocations: 25.7 kB / 0.9854 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.2621, allocations: 80.14 kB / 0.9854 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.2622, allocations: 15.83 kB / 0.9854 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.2622, allocations: 13.72 kB / 0.9855 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2624, allocations: 315 kB / 0.9858 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.2624, allocations: 0 / 0.9858 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.089e-05/0.2624, allocations: 4 kB / 0.9858 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.2624, allocations: 12.86 kB / 0.9858 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2624, allocations: 0 / 0.9858 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.761e-05/0.2625, allocations: 53.53 kB / 0.9858 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2625, allocations: 4 kB / 0.9858 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.2625, allocations: 3.938 kB / 0.9858 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2626, allocations: 4.094 kB / 0.9858 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.2626, allocations: 4 kB / 0.9858 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2626, allocations: 3.938 kB / 0.9858 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.2627, allocations: 0 / 0.9858 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.2627, allocations: 0 / 0.9858 GB, free: 6.273 MB / 0.7136 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 8.988e-05/0.2628, allocations: 113.8 kB / 0.986 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.2628, allocations: 3.984 kB / 0.986 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.692e-05/0.2629, allocations: 48.7 kB / 0.986 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2629, allocations: 4.031 kB / 0.986 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2629, allocations: 0 / 0.986 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2629, allocations: 4 kB / 0.986 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.263, allocations: 153.7 kB / 0.9862 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2631, allocations: 0 / 0.9862 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.2631, allocations: 8 kB / 0.9862 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2631, allocations: 0 / 0.9862 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2631, allocations: 7.922 kB / 0.9862 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2631, allocations: 4 kB / 0.9862 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2631, allocations: 0 / 0.9862 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.2635, allocations: 0.6123 MB / 0.9868 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.2636, allocations: 77.11 kB / 0.9869 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2636, allocations: 0 / 0.9869 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.657e-05/0.2636, allocations: 0 / 0.9869 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.2636, allocations: 3.984 kB / 0.9869 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.2636, allocations: 7.938 kB / 0.9869 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.2637, allocations: 79.31 kB / 0.9869 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2637, allocations: 0 / 0.9869 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003036/0.264, allocations: 20 kB / 0.987 GB, free: 4.996 MB / 0.7136 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.0001893/0.2642, allocations: 111.2 kB / 0.9871 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.515e-05/0.2643, allocations: 7.938 kB / 0.9871 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.2643, allocations: 4 kB / 0.9871 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.2643, allocations: 4 kB / 0.9871 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.2646, allocations: 20.05 kB / 0.9871 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003499/0.2649, allocations: 210.6 kB / 0.9873 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2652, allocations: 0.6731 MB / 0.988 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.161e-05/0.2652, allocations: 4 kB / 0.988 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.2652, allocations: 15.42 kB / 0.988 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.2652, allocations: 0 / 0.988 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of Templates: time 0.002413/0.2676, allocations: 0.5881 MB / 0.9885 GB, free: 3.289 MB / 0.7136 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)