Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.512/0.512, allocations: 94.77 MB / 102.2 MB, free: 10.13 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.001071/0.001071, allocations: 170.9 kB / 125.5 MB, free: 11.88 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.43/1.43, allocations: 170.6 MB / 319.4 MB, free: 9.266 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.0018/0.0018, allocations: 107.8 kB / 381.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.29e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.147, allocations: 61.53 MB / 0.4987 GB, free: 4.109 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4699/0.6169, allocations: 92.96 MB / 0.5894 GB, free: 8.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.6172, allocations: 72.52 kB / 0.5895 GB, free: 8.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00211/0.6193, allocations: 0.753 MB / 0.5903 GB, free: 8.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6194, allocations: 0 / 0.5903 GB, free: 8.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.6194, allocations: 4.5 kB / 0.5903 GB, free: 8.168 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.000346/0.6197, allocations: 338.6 kB / 0.5906 GB, free: 7.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6198, allocations: 8.562 kB / 0.5906 GB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.62, allocations: 20.08 kB / 0.5906 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.6201, allocations: 159.1 kB / 0.5908 GB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.6201, allocations: 4 kB / 0.5908 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.6201, allocations: 0.6875 kB / 0.5908 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.096e-05/0.6202, allocations: 18.17 kB / 0.5908 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.097e-05/0.6203, allocations: 42.28 kB / 0.5908 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.6203, allocations: 0.8125 kB / 0.5908 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.6203, allocations: 0.8438 kB / 0.5908 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6204, allocations: 0.5625 kB / 0.5908 GB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.6208, allocations: 254.3 kB / 0.5911 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.6209, allocations: 35.23 kB / 0.5911 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.6209, allocations: 13.64 kB / 0.5911 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.6209, allocations: 7.891 kB / 0.5911 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.621, allocations: 32.47 kB / 0.5911 GB, free: 7.129 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.675e-06/0.621, allocations: 2.672 kB / 0.5912 GB, free: 7.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001746/0.6212, allocations: 46.95 kB / 0.5912 GB, free: 7.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.6212, allocations: 56.2 kB / 0.5913 GB, free: 7.012 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.6213, allocations: 95.03 kB / 0.5913 GB, free: 6.914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.6213, allocations: 26.27 kB / 0.5914 GB, free: 6.883 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.6214, allocations: 84.77 kB / 0.5914 GB, free: 6.797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.6214, allocations: 9.141 kB / 0.5915 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.6215, allocations: 0.75 kB / 0.5915 GB, free: 6.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6216, allocations: 323.6 kB / 0.5918 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.6216, allocations: 4 kB / 0.5918 GB, free: 6.461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.6216, allocations: 9.781 kB / 0.5918 GB, free: 6.453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.247e-05/0.6217, allocations: 8.906 kB / 0.5918 GB, free: 6.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6217, allocations: 0 / 0.5918 GB, free: 6.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.852e-05/0.6218, allocations: 52.08 kB / 0.5918 GB, free: 6.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.6218, allocations: 5 kB / 0.5918 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6218, allocations: 3.953 kB / 0.5918 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6218, allocations: 0 / 0.5918 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.6219, allocations: 18.23 kB / 0.5919 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6219, allocations: 0.9062 kB / 0.5919 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.622, allocations: 13.67 kB / 0.5919 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.622, allocations: 0 / 0.5919 GB, free: 6.355 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 (2): * Single equations (assignments): 2 * 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.205e-05/0.6221, allocations: 111.1 kB / 0.592 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.6221, allocations: 5.266 kB / 0.592 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.6222, allocations: 7.922 kB / 0.592 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6222, allocations: 7.953 kB / 0.592 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6222, allocations: 0.7812 kB / 0.592 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6222, allocations: 0 / 0.592 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.6224, allocations: 146.3 kB / 0.5921 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6224, allocations: 0.75 kB / 0.5921 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.992e-05/0.6225, allocations: 15.98 kB / 0.5922 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.6225, allocations: 0 / 0.5922 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.6225, allocations: 0.6562 kB / 0.5922 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6225, allocations: 0 / 0.5922 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.6225, allocations: 4.938 kB / 0.5922 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.6227, allocations: 151.5 kB / 0.5923 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/0.6227, allocations: 81.02 kB / 0.5924 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.6228, allocations: 0 / 0.5924 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.6229, allocations: 14.17 kB / 0.5924 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.6229, allocations: 4 kB / 0.5924 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.6229, allocations: 4 kB / 0.5924 GB, free: 5.742 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.623, allocations: 85.61 kB / 0.5925 GB, free: 5.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.623, allocations: 4.031 kB / 0.5925 GB, free: 5.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.6232, allocations: 4 kB / 0.5925 GB, free: 5.652 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 (2): * Single equations (assignments): 2 * 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.0001444/0.6234, allocations: 99.23 kB / 0.5926 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.6235, allocations: 20.66 kB / 0.5926 GB, free: 5.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6235, allocations: 3.938 kB / 0.5926 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.639e-05/0.6235, allocations: 8 kB / 0.5926 GB, free: 5.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.6237, allocations: 4 kB / 0.5926 GB, free: 5.512 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.624, allocations: 75.27 kB / 0.5927 GB, free: 5.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.6244, allocations: 0.6845 MB / 0.5934 GB, free: 4.711 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.6245, allocations: 0 / 0.5934 GB, free: 4.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.6245, allocations: 7.438 kB / 0.5934 GB, free: 4.707 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6245, allocations: 0 / 0.5934 GB, free: 4.707 MB / 410.7 MB Notification: Performance of Templates: time 0.002541/0.627, allocations: 460.4 kB / 0.5938 GB, free: 4.281 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)