Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.008193/0.008193, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001909/0.001909, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.746/1.746, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6575/0.6575, allocations: 95.48 MB / 365.4 MB, free: 9.703 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 88.48 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2173, allocations: 69.08 MB / 0.5711 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00257/0.2199, allocations: 0.5508 MB / 0.5716 GB, free: 7.738 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004359/0.2204, allocations: 87.72 kB / 0.5717 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.2204, allocations: 3.938 kB / 0.5717 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.2205, allocations: 0 / 0.5717 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.2206, allocations: 0 / 0.5717 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.2209, allocations: 27.91 kB / 0.5717 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.999e-05/0.221, allocations: 4 kB / 0.5718 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.221, allocations: 0 / 0.5718 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.876e-05/0.2211, allocations: 8 kB / 0.5718 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.2212, allocations: 7.922 kB / 0.5718 GB, free: 7.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.2212, allocations: 8 kB / 0.5718 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.2213, allocations: 11.98 kB / 0.5718 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.2213, allocations: 0 / 0.5718 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.2214, allocations: 7.984 kB / 0.5718 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.2215, allocations: 11.98 kB / 0.5718 GB, free: 7.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.2216, allocations: 3.938 kB / 0.5718 GB, free: 7.559 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2216, allocations: 0 / 0.5718 GB, free: 7.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2216, allocations: 0 / 0.5718 GB, free: 7.559 MB / 446.1 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.0004842/0.2221, allocations: 319.6 kB / 0.5721 GB, free: 7.199 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.2221, allocations: 15.98 kB / 0.5721 GB, free: 7.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.2224, allocations: 8.922 kB / 0.5721 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2225, allocations: 168.3 kB / 0.5723 GB, free: 6.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.2226, allocations: 3.938 kB / 0.5723 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.2226, allocations: 7.938 kB / 0.5723 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.2228, allocations: 38.03 kB / 0.5723 GB, free: 6.918 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2229, allocations: 3.984 kB / 0.5723 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2229, allocations: 4 kB / 0.5724 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2229, allocations: 0 / 0.5724 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.2231, allocations: 19.98 kB / 0.5724 GB, free: 6.891 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.2234, allocations: 149.6 kB / 0.5725 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2237, allocations: 50.52 kB / 0.5726 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.2238, allocations: 8.922 kB / 0.5726 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.2238, allocations: 0 / 0.5726 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.2239, allocations: 42.55 kB / 0.5726 GB, free: 6.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/0.2239, allocations: 4 kB / 0.5726 GB, free: 6.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003292/0.2242, allocations: 45.69 kB / 0.5727 GB, free: 6.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.2243, allocations: 55.41 kB / 0.5727 GB, free: 6.453 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/0.2244, allocations: 89.86 kB / 0.5728 GB, free: 6.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2244, allocations: 25.7 kB / 0.5728 GB, free: 6.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.2245, allocations: 84.12 kB / 0.5729 GB, free: 6.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.2245, allocations: 15.81 kB / 0.5729 GB, free: 6.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.2246, allocations: 17.72 kB / 0.5729 GB, free: 6.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2248, allocations: 310.8 kB / 0.5732 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.2249, allocations: 15.92 kB / 0.5732 GB, free: 5.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.225, allocations: 7.938 kB / 0.5733 GB, free: 5.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.2251, allocations: 20.84 kB / 0.5733 GB, free: 5.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.2251, allocations: 3.938 kB / 0.5733 GB, free: 5.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001964/0.2254, allocations: 49.69 kB / 0.5733 GB, free: 5.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2254, allocations: 8 kB / 0.5733 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.2254, allocations: 3.984 kB / 0.5733 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2254, allocations: 3.938 kB / 0.5733 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.2261, allocations: 39.94 kB / 0.5734 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.2283, allocations: 1.412 MB / 0.5748 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.2284, allocations: 0 / 0.5748 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2284, allocations: 0 / 0.5748 GB, free: 4.172 MB / 446.1 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 () * 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 0.0001153/0.2285, allocations: 114 kB / 0.5749 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.2286, allocations: 4 kB / 0.5749 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.2286, allocations: 3.5 kB / 0.5749 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2286, allocations: 8.203 kB / 0.5749 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.2286, allocations: 0 / 0.5749 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2286, allocations: 0 / 0.5749 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2288, allocations: 157.7 kB / 0.575 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2288, allocations: 3.984 kB / 0.575 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.2294, allocations: 55.92 kB / 0.5751 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2295, allocations: 0 / 0.5751 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2295, allocations: 0 / 0.5751 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.2313, allocations: 1.408 MB / 0.5765 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2313, allocations: 0 / 0.5765 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.2315, allocations: 73.09 kB / 0.5765 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.2316, allocations: 81.09 kB / 0.5766 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2316, allocations: 0 / 0.5766 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.2317, allocations: 4 kB / 0.5766 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.2317, allocations: 4.062 kB / 0.5766 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.2318, allocations: 4 kB / 0.5766 GB, free: 2.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.043e-05/0.2318, allocations: 75.28 kB / 0.5767 GB, free: 1.953 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2318, allocations: 0 / 0.5767 GB, free: 1.953 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000354/0.2322, allocations: 4 kB / 0.5767 GB, free: 1.949 MB / 446.1 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 () * 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.0001722/0.2324, allocations: 99.23 kB / 0.5768 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.2332, allocations: 67.86 kB / 0.5769 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2332, allocations: 0 / 0.5769 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.2336, allocations: 35.95 kB / 0.5769 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.2339, allocations: 11.88 kB / 0.5769 GB, free: 1.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.2344, allocations: 104.8 kB / 0.577 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.2348, allocations: 0.6768 MB / 0.5777 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.142e-05/0.2348, allocations: 0 / 0.5777 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.2349, allocations: 11.44 kB / 0.5777 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2349, allocations: 0 / 0.5777 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of Templates: time 0.003864/0.2388, allocations: 417.8 kB / 0.5781 GB, free: 488 kB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)