Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6541/0.6541, allocations: 94.77 MB / 102.2 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001137/0.001137, allocations: 175.5 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.586/1.586, allocations: 170.6 MB / 319.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001716/0.001716, allocations: 110.2 kB / 381.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.854e-05, allocations: 4 kB / 449.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1696, allocations: 61.52 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.6514, allocations: 93.15 MB / 0.5896 GB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.6518, allocations: 79.94 kB / 0.5897 GB, free: 8.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005277/0.6571, allocations: 1.684 MB / 0.5914 GB, free: 7.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6571, allocations: 4.812 kB / 0.5914 GB, free: 7.086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.6571, allocations: 0 / 0.5914 GB, free: 7.086 MB / 410.7 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.0003857/0.6575, allocations: 343.8 kB / 0.5917 GB, free: 6.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.6576, allocations: 8.031 kB / 0.5917 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.6576, allocations: 8.078 kB / 0.5917 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.6578, allocations: 160.3 kB / 0.5919 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6578, allocations: 0.9375 kB / 0.5919 GB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.6579, allocations: 4.688 kB / 0.5919 GB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.257e-05/0.6579, allocations: 10.22 kB / 0.5919 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.6581, allocations: 41.34 kB / 0.5919 GB, free: 6.445 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.6581, allocations: 4.891 kB / 0.5919 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6581, allocations: 2.078 kB / 0.5919 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6581, allocations: 0.6875 kB / 0.5919 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.6583, allocations: 143.1 kB / 0.5921 GB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.975e-05/0.6584, allocations: 27.27 kB / 0.5921 GB, free: 6.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.6585, allocations: 15.11 kB / 0.5921 GB, free: 6.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/0.6598, allocations: 1.169 MB / 0.5932 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.6598, allocations: 38.56 kB / 0.5933 GB, free: 4.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.6598, allocations: 0 / 0.5933 GB, free: 4.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002646/0.6601, allocations: 54.17 kB / 0.5933 GB, free: 4.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.6602, allocations: 51.41 kB / 0.5934 GB, free: 4.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.6602, allocations: 96.94 kB / 0.5935 GB, free: 4.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.6603, allocations: 29.7 kB / 0.5935 GB, free: 4.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.6603, allocations: 80.14 kB / 0.5936 GB, free: 4.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.6604, allocations: 4.562 kB / 0.5936 GB, free: 4.406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.6604, allocations: 0 / 0.5936 GB, free: 4.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6605, allocations: 318.8 kB / 0.5939 GB, free: 4.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.6606, allocations: 8 kB / 0.5939 GB, free: 4.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.6606, allocations: 4.219 kB / 0.5939 GB, free: 4.074 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.6606, allocations: 4 kB / 0.5939 GB, free: 4.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6606, allocations: 3.938 kB / 0.5939 GB, free: 4.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.686e-05/0.6607, allocations: 42.44 kB / 0.5939 GB, free: 4.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6608, allocations: 4 kB / 0.5939 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6608, allocations: 0 / 0.5939 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6608, allocations: 0 / 0.5939 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.6609, allocations: 8 kB / 0.5939 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.6609, allocations: 4 kB / 0.594 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.6609, allocations: 7.891 kB / 0.594 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.6609, allocations: 4 kB / 0.594 GB, free: 3.992 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.637e-05/0.661, allocations: 110.5 kB / 0.5941 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.661, allocations: 8.531 kB / 0.5941 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.6612, allocations: 60.11 kB / 0.5941 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.6612, allocations: 0 / 0.5941 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6613, allocations: 0 / 0.5941 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6613, allocations: 1.406 kB / 0.5941 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.6614, allocations: 138.2 kB / 0.5943 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6614, allocations: 0.875 kB / 0.5943 GB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.6614, allocations: 8 kB / 0.5943 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6614, allocations: 3.984 kB / 0.5943 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.6615, allocations: 0 / 0.5943 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6615, allocations: 0 / 0.5943 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6615, allocations: 1.812 kB / 0.5943 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.6616, allocations: 83.58 kB / 0.5944 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6617, allocations: 81.02 kB / 0.5944 GB, free: 3.426 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.6617, allocations: 4 kB / 0.5944 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.6618, allocations: 3.984 kB / 0.5944 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.6618, allocations: 3.75 kB / 0.5944 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-06/0.6618, allocations: 4 kB / 0.5945 GB, free: 3.414 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.112e-05/0.6619, allocations: 87.27 kB / 0.5945 GB, free: 3.328 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6619, allocations: 4 kB / 0.5945 GB, free: 3.324 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.6621, allocations: 27.94 kB / 0.5946 GB, free: 3.297 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002453/0.6624, allocations: 132.1 kB / 0.5947 GB, free: 3.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.101e-05/0.6625, allocations: 12 kB / 0.5947 GB, free: 3.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6625, allocations: 3.938 kB / 0.5947 GB, free: 3.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.312e-05/0.6625, allocations: 8 kB / 0.5947 GB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.6627, allocations: 7.891 kB / 0.5947 GB, free: 3.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.6629, allocations: 64.88 kB / 0.5948 GB, free: 3.047 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.6633, allocations: 0.6807 MB / 0.5954 GB, free: 2.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.219e-05/0.6633, allocations: 8.844 kB / 0.5955 GB, free: 2.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.6634, allocations: 11.44 kB / 0.5955 GB, free: 2.324 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6634, allocations: 4 kB / 0.5955 GB, free: 2.32 MB / 410.7 MB Notification: Performance of Templates: time 0.003255/0.6666, allocations: 0.7295 MB / 0.5962 GB, free: 1.625 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)