Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 100 kB / 15.05 MB, free: 1.105 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.001117/0.001117, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.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.814/1.814, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.000538/0.0005381, allocations: 30.14 kB / 0.6735 GB, free: 26.51 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2954, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001796/0.2972, allocations: 1.16 MB / 0.7882 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000302/0.2975, allocations: 84.62 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.2976, allocations: 0 / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.2976, allocations: 7.984 kB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.2977, allocations: 8 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.2979, allocations: 4 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.298, allocations: 23.91 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2981, allocations: 0 / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.2982, allocations: 7.984 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.2982, allocations: 19.86 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.2982, allocations: 0 / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.502e-05/0.2983, allocations: 15.98 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.2983, allocations: 7.984 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.2984, allocations: 25.7 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.823e-05/0.2985, allocations: 19.97 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2985, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2985, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2985, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 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.0005457/0.2991, allocations: 351.5 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.2991, allocations: 8.031 kB / 0.7888 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.2993, allocations: 15.98 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.2995, allocations: 175 kB / 0.789 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.2995, allocations: 0 / 0.789 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.2995, allocations: 0 / 0.789 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.2997, allocations: 61.67 kB / 0.789 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.2998, allocations: 4 kB / 0.789 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2998, allocations: 0 / 0.789 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2998, allocations: 0 / 0.789 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.3, allocations: 67.94 kB / 0.7891 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.3004, allocations: 264.8 kB / 0.7894 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.3006, allocations: 66.48 kB / 0.7894 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3006, allocations: 8.047 kB / 0.7894 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3007, allocations: 38.55 kB / 0.7895 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3007, allocations: 0 / 0.7895 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004376/0.3011, allocations: 125.6 kB / 0.7896 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.3012, allocations: 55.34 kB / 0.7896 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.3013, allocations: 101.9 kB / 0.7897 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3013, allocations: 25.83 kB / 0.7898 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.3014, allocations: 92.12 kB / 0.7898 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3014, allocations: 11.78 kB / 0.7899 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.3014, allocations: 0 / 0.7899 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3015, allocations: 322.7 kB / 0.7902 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3017, allocations: 31.97 kB / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.72e-05/0.3018, allocations: 31.98 kB / 0.7902 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.3019, allocations: 27.97 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3019, allocations: 4 kB / 0.7903 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002395/0.3021, allocations: 97.7 kB / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3022, allocations: 4 kB / 0.7904 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3022, allocations: 0 / 0.7904 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3022, allocations: 4.031 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3023, allocations: 19.92 kB / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3023, allocations: 0 / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.3024, allocations: 8 kB / 0.7904 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3024, allocations: 3.984 kB / 0.7904 GB, free: 8.387 MB / 0.6075 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 7.936e-05/0.3025, allocations: 113.8 kB / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.3025, allocations: 7.906 kB / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.3026, allocations: 7.531 kB / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3026, allocations: 0 / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3026, allocations: 0 / 0.7905 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3026, allocations: 4 kB / 0.7905 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3028, allocations: 165.6 kB / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3028, allocations: 256 / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-05/0.3028, allocations: 19.98 kB / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3029, allocations: 0 / 0.7907 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3029, allocations: 4 kB / 0.7907 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3029, allocations: 0 / 0.7907 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3029, allocations: 0 / 0.7907 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3032, allocations: 203.4 kB / 0.7909 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.3032, allocations: 77.11 kB / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.3033, allocations: 0 / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.3034, allocations: 11.98 kB / 0.791 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.3034, allocations: 7.984 kB / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3034, allocations: 0 / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.3035, allocations: 87.31 kB / 0.7911 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3035, allocations: 0 / 0.7911 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002051/0.3037, allocations: 4 kB / 0.7911 GB, free: 7.59 MB / 0.6075 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.0001331/0.3038, allocations: 95.25 kB / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.3041, allocations: 75.88 kB / 0.7912 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3041, allocations: 0 / 0.7912 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.3042, allocations: 31.92 kB / 0.7913 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.3045, allocations: 12.06 kB / 0.7913 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/0.3048, allocations: 136.5 kB / 0.7914 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3051, allocations: 0.6809 MB / 0.7921 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.3051, allocations: 8 kB / 0.7921 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.3052, allocations: 7.438 kB / 0.7921 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3052, allocations: 0 / 0.7921 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of Templates: time 0.002316/0.3075, allocations: 492.3 kB / 0.7926 GB, free: 6.016 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: