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.001814/0.001814, allocations: 107.6 kB / 16.37 MB, free: 6.309 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.00215/0.00215, allocations: 189.8 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001437/0.001437, allocations: 68.47 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2109, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.003316/0.2142, allocations: 1.445 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.2145, allocations: 88.59 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.2146, allocations: 0 / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.2146, allocations: 0 / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.626e-05/0.2147, allocations: 7.938 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.2149, allocations: 11.98 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.2149, allocations: 27.86 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.215, allocations: 11.98 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.607e-05/0.2151, allocations: 8 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.2151, allocations: 19.91 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.2151, allocations: 4 kB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.626e-05/0.2152, allocations: 15.98 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.2152, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.2153, allocations: 11.94 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.2154, allocations: 35.83 kB / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2154, allocations: 0 / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2154, allocations: 0 / 0.7864 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.2154, allocations: 0 / 0.7864 GB, free: 1.469 MB / 0.6544 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.0004323/0.2158, allocations: 351.4 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2159, allocations: 8.031 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.216, allocations: 16.86 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2162, allocations: 168.3 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.2162, allocations: 384 / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2162, allocations: 8.375 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.2164, allocations: 54.23 kB / 0.787 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2164, allocations: 4.188 kB / 0.787 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2164, allocations: 3.938 kB / 0.787 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2164, allocations: 0 / 0.787 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.2167, allocations: 59.81 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.217, allocations: 261 kB / 0.7873 GB, free: 420 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2172, allocations: 58.47 kB / 0.7874 GB, free: 352 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2173, allocations: 28.91 kB / 0.7874 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2174, allocations: 4 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2174, allocations: 30.56 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2174, allocations: 0 / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004178/0.2178, allocations: 105.6 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.2179, allocations: 51.41 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3452/0.5631, allocations: 103.6 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5632, allocations: 28.02 kB / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.5632, allocations: 85.45 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.5632, allocations: 11.05 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.5633, allocations: 17.39 kB / 0.7878 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.5633, allocations: 316.6 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.5635, allocations: 22.3 kB / 0.7881 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.5636, allocations: 23.3 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.5638, allocations: 52.59 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5638, allocations: 0 / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002513/0.564, allocations: 86.97 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5641, allocations: 5.312 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5641, allocations: 1.781 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5641, allocations: 0 / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5642, allocations: 12.25 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.5642, allocations: 0.8438 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.5643, allocations: 11.55 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.5643, allocations: 3.25 kB / 0.7883 GB, free: 48.36 MB / 0.6544 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 5.277e-05/0.5644, allocations: 110.2 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.5644, allocations: 3.641 kB / 0.7884 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.5644, allocations: 9.438 kB / 0.7885 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5644, allocations: 3.938 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5644, allocations: 0 / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.5645, allocations: 79.45 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.5645, allocations: 7.188 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.5646, allocations: 7.062 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.5646, allocations: 6 kB / 0.7885 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002686/0.5649, allocations: 163.2 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002454/0.5652, allocations: 255.5 kB / 0.7889 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001135/0.5653, allocations: 25.75 kB / 0.789 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.573e-05/0.5653, allocations: 86.22 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of Backend: time 6.32e-07/0.5653, allocations: 0 / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004301/0.5658, allocations: 110.4 kB / 0.7892 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003382/0.5661, allocations: 0.5505 MB / 0.7897 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.002694/0.5688, allocations: 0.9632 MB / 0.7906 GB, free: 47.14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (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)