Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.623/1.623, allocations: 288.4 MB / 304.3 MB, free: 7.992 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.001119/0.001119, allocations: 182.2 kB / 372.9 MB, free: 10.18 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.477/1.477, allocations: 205.4 MB / 0.6317 GB, free: 9.941 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007454/0.0007454, allocations: 96.92 kB / 0.745 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 20.7 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1862, allocations: 115.3 MB / 0.9807 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6024/0.7886, allocations: 138 MB / 1.115 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.7888, allocations: 75.39 kB / 1.116 GB, free: 16.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002332/0.7912, allocations: 0.7665 MB / 1.116 GB, free: 32.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7912, allocations: 0 / 1.116 GB, free: 32.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.7912, allocations: 0 / 1.116 GB, free: 32.36 MB / 0.698 GB 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.0003459/0.7915, allocations: 351.6 kB / 1.117 GB, free: 32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.7916, allocations: 11.5 kB / 1.117 GB, free: 32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.7917, allocations: 18.25 kB / 1.117 GB, free: 31.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.7918, allocations: 168.1 kB / 1.117 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.7919, allocations: 7.625 kB / 1.117 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.7919, allocations: 4.375 kB / 1.117 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.7921, allocations: 61.58 kB / 1.117 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7921, allocations: 192 / 1.117 GB, free: 31.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.7921, allocations: 3.938 kB / 1.117 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.7921, allocations: 0 / 1.117 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.7923, allocations: 67.75 kB / 1.117 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.7928, allocations: 287 kB / 1.117 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.7929, allocations: 63.27 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.7931, allocations: 43.77 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.7931, allocations: 0 / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.7931, allocations: 33.75 kB / 1.117 GB, free: 31.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.7931, allocations: 0 / 1.117 GB, free: 31.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003989/0.7935, allocations: 126 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.7936, allocations: 57.97 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.7936, allocations: 110.1 kB / 1.118 GB, free: 31.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.7937, allocations: 25.7 kB / 1.118 GB, free: 31.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.7937, allocations: 89.91 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.7937, allocations: 3.906 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.7937, allocations: 0 / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7939, allocations: 310.8 kB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.794, allocations: 40.73 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.638e-05/0.7941, allocations: 30.25 kB / 1.118 GB, free: 30.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.7942, allocations: 67.12 kB / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7942, allocations: 0 / 1.118 GB, free: 30.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002266/0.7945, allocations: 97.75 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7945, allocations: 5.219 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.7945, allocations: 1.312 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7945, allocations: 0 / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.7946, allocations: 16.39 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7947, allocations: 3.984 kB / 1.118 GB, free: 30.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.7947, allocations: 19.06 kB / 1.118 GB, free: 30.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.7947, allocations: 0 / 1.118 GB, free: 30.69 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/0.7948, allocations: 116.4 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.7948, allocations: 5.25 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.7949, allocations: 10.78 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7949, allocations: 0 / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7949, allocations: 1.312 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7949, allocations: 1.75 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.795, allocations: 171 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.795, allocations: 3.938 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.7951, allocations: 14.19 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.7951, allocations: 0 / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.7951, allocations: 1.219 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7951, allocations: 3.938 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7952, allocations: 0 / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.7954, allocations: 200.6 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.7955, allocations: 80.25 kB / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.7955, allocations: 0 / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.7956, allocations: 14.25 kB / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.7956, allocations: 3.969 kB / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.7956, allocations: 0 / 1.119 GB, free: 30.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.7957, allocations: 85.73 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.32e-07/0.7957, allocations: 0 / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001953/0.7959, allocations: 7.812 kB / 1.119 GB, free: 30.05 MB / 0.698 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 (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.0001004/0.796, allocations: 98.88 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.7962, allocations: 62.89 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7962, allocations: 3.781 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.7963, allocations: 38.53 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.7966, allocations: 10.88 kB / 1.119 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.7969, allocations: 131.9 kB / 1.119 GB, free: 29.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.7972, allocations: 0.6762 MB / 1.12 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.7972, allocations: 3.875 kB / 1.12 GB, free: 29.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.7972, allocations: 10.77 kB / 1.12 GB, free: 29.13 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.7972, allocations: 0 / 1.12 GB, free: 29.13 MB / 0.698 GB Notification: Performance of Templates: time 0.001923/0.7992, allocations: 498.1 kB / 1.12 GB, free: 29.08 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)