Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001025/0.001025, allocations: 177 kB / 371.8 MB, free: 10.3 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.461/1.461, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008834/0.0008835, allocations: 86.86 kB / 0.7439 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 17.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1709, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000593/0.1716, allocations: 322.1 kB / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002084/0.1718, allocations: 89.56 kB / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.1718, allocations: 0 / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.1718, allocations: 0 / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.1719, allocations: 0 / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.172, allocations: 19.86 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.974e-05/0.1721, allocations: 3.984 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.1721, allocations: 8 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.561e-05/0.1721, allocations: 0 / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.1722, allocations: 7.984 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1722, allocations: 0 / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.398e-05/0.1723, allocations: 8 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.023e-06/0.1723, allocations: 3.984 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.1723, allocations: 29.7 kB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.787e-05/0.1724, allocations: 4 kB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1724, allocations: 4 kB / 0.98 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1724, allocations: 0 / 0.98 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1724, allocations: 0 / 0.98 GB, free: 27.13 MB / 0.6198 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.0002217/0.1726, allocations: 319.4 kB / 0.9803 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1727, allocations: 12.02 kB / 0.9803 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.402e-05/0.1727, allocations: 34.56 kB / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1728, allocations: 7.984 kB / 0.9803 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.898e-05/0.1729, allocations: 171 kB / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1729, allocations: 7.984 kB / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.1729, allocations: 0 / 0.9805 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1731, allocations: 33.69 kB / 0.9805 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1731, allocations: 0 / 0.9805 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1731, allocations: 8 kB / 0.9805 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1731, allocations: 0 / 0.9805 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.1732, allocations: 7.984 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.1733, allocations: 169.8 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1735, allocations: 46.5 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1735, allocations: 3.984 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.1735, allocations: 30.56 kB / 0.9808 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1735, allocations: 0 / 0.9808 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001806/0.1737, allocations: 65.67 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.1737, allocations: 55.41 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.73e-05/0.1738, allocations: 93.8 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.1738, allocations: 25.7 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.218e-06/0.1738, allocations: 80.14 kB / 0.9811 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1738, allocations: 7.906 kB / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.1738, allocations: 0 / 0.9811 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.887e-05/0.1739, allocations: 318.8 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.1739, allocations: 4 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/0.1739, allocations: 11.98 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.751e-05/0.174, allocations: 8 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.174, allocations: 0 / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.146e-05/0.1741, allocations: 49.64 kB / 0.9815 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1741, allocations: 11.92 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1741, allocations: 4 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1741, allocations: 0 / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.1745, allocations: 39.94 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008831/0.1754, allocations: 1.318 MB / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.1754, allocations: 0 / 0.9828 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1754, allocations: 0 / 0.9828 GB, free: 23.87 MB / 0.6198 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.1755, allocations: 118.1 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.1755, allocations: 3.953 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.205e-05/0.1755, allocations: 3.5 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1755, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.1755, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1755, allocations: 0 / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.53e-05/0.1756, allocations: 153.7 kB / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1756, allocations: 0 / 0.9831 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.176, allocations: 55.88 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.176, allocations: 0 / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.176, allocations: 0 / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007723/0.1768, allocations: 1.31 MB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1768, allocations: 8.234 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.1769, allocations: 73.16 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.1769, allocations: 81.06 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-06/0.1769, allocations: 0 / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.727e-05/0.177, allocations: 3.984 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.177, allocations: 7.938 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.177, allocations: 7.875 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.299e-05/0.177, allocations: 83.28 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 0 / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001869/0.1772, allocations: 8 kB / 0.9847 GB, free: 21.73 MB / 0.6198 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002862/0.1775, allocations: 0.6085 MB / 0.9853 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.1779, allocations: 67.92 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.178, allocations: 0 / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.1782, allocations: 39.97 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.96e-05/0.1783, allocations: 6.359 kB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.1786, allocations: 120.6 kB / 0.9855 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.894e-05/0.1787, allocations: 0.677 MB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.1788, allocations: 0 / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.78e-05/0.1788, allocations: 15.44 kB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1788, allocations: 0 / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/0.1897, allocations: 1.063 MB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/0.1898, allocations: 228.3 kB / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.606, allocations: 3.938 kB / 0.9874 GB, free: 19 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)