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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 184.2 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009156/0.0009157, allocations: 106.2 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009964/0.0009965, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2141, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001748/0.2159, allocations: 0.6627 MB / 0.9829 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002618/0.2161, allocations: 91.73 kB / 0.983 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-06/0.2162, allocations: 0 / 0.983 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.2162, allocations: 0 / 0.983 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.013e-05/0.2162, allocations: 0 / 0.983 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.2164, allocations: 19.91 kB / 0.983 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.983e-05/0.2164, allocations: 8 kB / 0.983 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.2165, allocations: 0 / 0.983 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.2165, allocations: 4 kB / 0.983 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.2166, allocations: 0 / 0.983 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2166, allocations: 8 kB / 0.983 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.2166, allocations: 15.92 kB / 0.983 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.2167, allocations: 4 kB / 0.983 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.2167, allocations: 11.92 kB / 0.983 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.141e-05/0.2168, allocations: 15.97 kB / 0.983 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2168, allocations: 0 / 0.983 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.72e-07/0.2168, allocations: 0 / 0.983 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.2168, allocations: 3.938 kB / 0.9831 GB, free: 9.531 MB / 0.7136 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.000294/0.2171, allocations: 315.6 kB / 0.9834 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2171, allocations: 8.031 kB / 0.9834 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.2173, allocations: 12.92 kB / 0.9834 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/0.2174, allocations: 164.4 kB / 0.9835 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2174, allocations: 4.375 kB / 0.9835 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.2174, allocations: 384 / 0.9835 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2175, allocations: 38.25 kB / 0.9836 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.2175, allocations: 4.188 kB / 0.9836 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2176, allocations: 3.938 kB / 0.9836 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-06/0.2176, allocations: 0 / 0.9836 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.2177, allocations: 23.92 kB / 0.9836 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.2178, allocations: 153.9 kB / 0.9837 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.218, allocations: 38.61 kB / 0.9838 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.218, allocations: 16.89 kB / 0.9838 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.218, allocations: 0 / 0.9838 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.2181, allocations: 42.5 kB / 0.9838 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2181, allocations: 4 kB / 0.9838 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001935/0.2183, allocations: 57.55 kB / 0.9839 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.2183, allocations: 55.41 kB / 0.984 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.563e-05/0.2183, allocations: 89.86 kB / 0.984 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.2184, allocations: 25.7 kB / 0.9841 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.2184, allocations: 80.14 kB / 0.9841 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.2184, allocations: 11.84 kB / 0.9841 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.2185, allocations: 21.7 kB / 0.9842 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.2186, allocations: 310.8 kB / 0.9845 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.882e-05/0.2186, allocations: 8 kB / 0.9845 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.2186, allocations: 7.984 kB / 0.9845 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.097e-05/0.2187, allocations: 20.84 kB / 0.9845 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2187, allocations: 0 / 0.9845 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001077/0.2188, allocations: 53.62 kB / 0.9846 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2189, allocations: 8 kB / 0.9846 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2189, allocations: 0 / 0.9846 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2189, allocations: 3.938 kB / 0.9846 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/0.2193, allocations: 43.92 kB / 0.9846 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.2204, allocations: 1.314 MB / 0.9859 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.2205, allocations: 0 / 0.9859 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2205, allocations: 0 / 0.9859 GB, free: 6.27 MB / 0.7136 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.912e-05/0.2206, allocations: 113.9 kB / 0.986 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.2206, allocations: 3.938 kB / 0.986 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/0.2206, allocations: 3.5 kB / 0.986 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2206, allocations: 4.078 kB / 0.986 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.2206, allocations: 7.938 kB / 0.986 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2206, allocations: 336 / 0.986 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.2207, allocations: 153.6 kB / 0.9862 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2207, allocations: 0 / 0.9862 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.2211, allocations: 47.92 kB / 0.9862 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2211, allocations: 4 kB / 0.9862 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2211, allocations: 3.984 kB / 0.9862 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.2221, allocations: 1.31 MB / 0.9875 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2222, allocations: 0 / 0.9875 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.2225, allocations: 0.628 MB / 0.9881 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.2225, allocations: 85.05 kB / 0.9882 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-06/0.2226, allocations: 0 / 0.9882 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.2226, allocations: 7.922 kB / 0.9882 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.2226, allocations: 0 / 0.9882 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.2226, allocations: 8 kB / 0.9882 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.2227, allocations: 75.28 kB / 0.9883 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2227, allocations: 0 / 0.9883 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002731/0.2229, allocations: 12 kB / 0.9883 GB, free: 3.539 MB / 0.7136 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.0001077/0.2231, allocations: 98.3 kB / 0.9884 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.2235, allocations: 67.84 kB / 0.9884 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.2235, allocations: 4 kB / 0.9884 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.2237, allocations: 35.94 kB / 0.9885 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.2239, allocations: 5.828 kB / 0.9885 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.2242, allocations: 193.9 kB / 0.9887 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2245, allocations: 0.6809 MB / 0.9893 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.2246, allocations: 7.938 kB / 0.9893 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.2246, allocations: 7.438 kB / 0.9894 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.2246, allocations: 0 / 0.9894 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of Templates: time 0.002128/0.2267, allocations: 416.6 kB / 0.9898 GB, free: 1.969 MB / 0.7136 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)