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.001247/0.001247, allocations: 110.9 kB / 16.36 MB, free: 6.016 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.001062/0.001062, allocations: 194.9 kB / 17.3 MB, free: 5.613 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.735/1.735, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.002322/0.002322, allocations: 71.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2274, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001719/0.2292, allocations: 0.5942 MB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002568/0.2295, allocations: 91.78 kB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.2295, allocations: 3.938 kB / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.2295, allocations: 0 / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.833e-05/0.2296, allocations: 4 kB / 0.7855 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.2298, allocations: 7.984 kB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.2298, allocations: 11.98 kB / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.2299, allocations: 7.922 kB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.757e-05/0.2299, allocations: 8 kB / 0.7855 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.23, allocations: 3.938 kB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.23, allocations: 4 kB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.23, allocations: 11.98 kB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.2301, allocations: 7.984 kB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.2301, allocations: 0 / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.2302, allocations: 15.98 kB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2302, allocations: 3.984 kB / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2302, allocations: 0 / 0.7855 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2302, allocations: 3.938 kB / 0.7855 GB, free: 2.344 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.0002944/0.2305, allocations: 315.6 kB / 0.7858 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2305, allocations: 8.031 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.2307, allocations: 12.92 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.085e-05/0.2308, allocations: 168.4 kB / 0.786 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2308, allocations: 384 / 0.786 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.2308, allocations: 4.375 kB / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.2309, allocations: 38.25 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.2309, allocations: 4.125 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.231, allocations: 7.938 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.231, allocations: 0 / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.896e-05/0.2311, allocations: 19.92 kB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.2312, allocations: 149.7 kB / 0.7862 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.2314, allocations: 38.56 kB / 0.7863 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.2314, allocations: 20.91 kB / 0.7863 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.2314, allocations: 0 / 0.7863 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.2315, allocations: 34.56 kB / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.2315, allocations: 0 / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001962/0.2317, allocations: 57.55 kB / 0.7864 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.2317, allocations: 55.41 kB / 0.7864 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.198e-05/0.2317, allocations: 89.86 kB / 0.7865 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.2317, allocations: 25.7 kB / 0.7866 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.2318, allocations: 84.14 kB / 0.7866 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.2318, allocations: 15.75 kB / 0.7866 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.2318, allocations: 13.72 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.2319, allocations: 314.8 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.232, allocations: 8 kB / 0.787 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.232, allocations: 7.984 kB / 0.787 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/0.2321, allocations: 20.8 kB / 0.787 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2321, allocations: 4 kB / 0.787 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001117/0.2322, allocations: 53.67 kB / 0.787 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2323, allocations: 4 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2323, allocations: 0 / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2323, allocations: 3.938 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.2327, allocations: 43.94 kB / 0.7871 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3759/0.6086, allocations: 1.404 MB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.661e-05/0.6087, allocations: 4.219 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.6087, allocations: 0 / 0.7885 GB, free: 47.89 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 (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 5.781e-05/0.6088, allocations: 114.7 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.6088, allocations: 1.219 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.364e-05/0.6088, allocations: 8.562 kB / 0.7886 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6088, allocations: 2.938 kB / 0.7886 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.6088, allocations: 1 kB / 0.7886 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.6088, allocations: 0 / 0.7886 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.931e-05/0.6089, allocations: 154.7 kB / 0.7887 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6089, allocations: 2.906 kB / 0.7887 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.6092, allocations: 54 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6093, allocations: 0 / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.6093, allocations: 2.188 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008229/0.6101, allocations: 1.407 MB / 0.7902 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6101, allocations: 0.6562 kB / 0.7902 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.6102, allocations: 76.11 kB / 0.7902 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.6102, allocations: 77.7 kB / 0.7903 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-06/0.6103, allocations: 4.562 kB / 0.7903 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.674e-05/0.6103, allocations: 3.938 kB / 0.7903 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.6103, allocations: 5.984 kB / 0.7903 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.6103, allocations: 0 / 0.7903 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.617e-05/0.6104, allocations: 76.81 kB / 0.7904 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.6104, allocations: 0 / 0.7904 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001937/0.6106, allocations: 7.656 kB / 0.7904 GB, free: 45.95 MB / 0.6544 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.0001111/0.6107, allocations: 98.56 kB / 0.7905 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.6111, allocations: 64.8 kB / 0.7906 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6111, allocations: 4.031 kB / 0.7906 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.6114, allocations: 36.55 kB / 0.7906 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.6115, allocations: 8.438 kB / 0.7906 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.6118, allocations: 87.72 kB / 0.7907 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.85e-05/0.6119, allocations: 0.6756 MB / 0.7914 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.612, allocations: 7 kB / 0.7914 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.132e-05/0.612, allocations: 8.688 kB / 0.7914 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.612, allocations: 2.688 kB / 0.7914 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.002399/0.6144, allocations: 417.2 kB / 0.7918 GB, free: 45.07 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)