Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008477/0.0008477, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006879/0.006879, allocations: 172 kB / 16.27 MB, free: 6.652 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.445/1.445, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.653/1.653, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005149/0.0005149, allocations: 19.88 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2056, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006983/0.2063, allocations: 335.5 kB / 0.7882 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003102/0.2066, allocations: 95.72 kB / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.019e-05/0.2067, allocations: 0 / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.075e-05/0.2067, allocations: 0 / 0.7883 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.2067, allocations: 4 kB / 0.7883 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.2069, allocations: 15.98 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.981e-05/0.2069, allocations: 4 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.207, allocations: 0 / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.207, allocations: 4 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.2071, allocations: 7.922 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2071, allocations: 3.984 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.2072, allocations: 19.92 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.2072, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.2072, allocations: 25.7 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.448e-05/0.2073, allocations: 15.98 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2073, allocations: 7.938 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2073, allocations: 0 / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2073, allocations: 0 / 0.7884 GB, free: 11.06 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.0002888/0.2076, allocations: 315.6 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2077, allocations: 8.031 kB / 0.7887 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2078, allocations: 12.92 kB / 0.7887 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.831e-05/0.2079, allocations: 168.4 kB / 0.7889 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2079, allocations: 384 / 0.7889 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.208, allocations: 4.375 kB / 0.7889 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.2081, allocations: 34.25 kB / 0.7889 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.2081, allocations: 4.125 kB / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2081, allocations: 11.94 kB / 0.7889 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2081, allocations: 0 / 0.7889 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.2082, allocations: 15.92 kB / 0.7889 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.2083, allocations: 150 kB / 0.7891 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2085, allocations: 46.59 kB / 0.7891 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.2086, allocations: 16.92 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2086, allocations: 0 / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.2086, allocations: 30.56 kB / 0.7892 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.2086, allocations: 0 / 0.7892 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001973/0.2088, allocations: 61.55 kB / 0.7892 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.2089, allocations: 59.41 kB / 0.7893 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.889e-05/0.2089, allocations: 89.86 kB / 0.7894 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2089, allocations: 25.7 kB / 0.7894 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.209, allocations: 80.14 kB / 0.7895 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.209, allocations: 19.73 kB / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.209, allocations: 9.719 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.2091, allocations: 314.8 kB / 0.7898 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.249e-05/0.2092, allocations: 8 kB / 0.7898 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.2092, allocations: 11.98 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.2093, allocations: 20.84 kB / 0.7898 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2093, allocations: 0 / 0.7898 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001079/0.2094, allocations: 49.62 kB / 0.7899 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2094, allocations: 4 kB / 0.7899 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2095, allocations: 4 kB / 0.7899 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2095, allocations: 7.875 kB / 0.7899 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.2099, allocations: 47.92 kB / 0.79 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.2111, allocations: 1.314 MB / 0.7912 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.2111, allocations: 0 / 0.7912 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2111, allocations: 0 / 0.7912 GB, free: 7.789 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/0.2112, allocations: 118.7 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.788e-06/0.2112, allocations: 3.938 kB / 0.7914 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.259e-05/0.2113, allocations: 3.5 kB / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2113, allocations: 0 / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2113, allocations: 7.984 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2113, allocations: 0 / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.518e-05/0.2114, allocations: 149.6 kB / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2114, allocations: 0 / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.2118, allocations: 51.92 kB / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2118, allocations: 0 / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.2118, allocations: 0 / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.2129, allocations: 1.31 MB / 0.7928 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2129, allocations: 7.938 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.213, allocations: 77.08 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.2131, allocations: 81.11 kB / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-06/0.2131, allocations: 3.938 kB / 0.793 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.2131, allocations: 3.984 kB / 0.793 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.2131, allocations: 4 kB / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2131, allocations: 4.062 kB / 0.793 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.2132, allocations: 75.28 kB / 0.7931 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2132, allocations: 0 / 0.7931 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001927/0.2134, allocations: 8 kB / 0.7931 GB, free: 5.664 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.2135, allocations: 99.23 kB / 0.7932 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.2139, allocations: 63.89 kB / 0.7932 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.214, allocations: 0 / 0.7932 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.2142, allocations: 43.89 kB / 0.7933 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.2144, allocations: 6.812 kB / 0.7933 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.2146, allocations: 105.8 kB / 0.7934 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2148, allocations: 0.6731 MB / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.2149, allocations: 0 / 0.794 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.2149, allocations: 15.42 kB / 0.7941 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2149, allocations: 0 / 0.7941 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.001889/0.2168, allocations: 389.6 kB / 0.7944 GB, free: 4.227 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: