Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_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.449/1.449, allocations: 288.4 MB / 303.6 MB, free: 8.078 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.001006/0.001006, allocations: 175.3 kB / 372.2 MB, free: 10.13 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.15/1.15, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0006585/0.0006584, allocations: 98.84 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 18 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.0012/0.1773, allocations: 1.152 MB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002076/0.1775, allocations: 88.62 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.1775, allocations: 0 / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.027e-05/0.1776, allocations: 0 / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.1776, allocations: 7.922 kB / 0.9814 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.1778, allocations: 11.98 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.747e-05/0.1778, allocations: 23.92 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.1779, allocations: 8 kB / 0.9814 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.139e-05/0.1779, allocations: 7.938 kB / 0.9814 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.983e-05/0.1779, allocations: 11.98 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.178, allocations: 0 / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.418e-05/0.178, allocations: 19.98 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.178, allocations: 3.938 kB / 0.9815 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.1781, allocations: 45.61 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.749e-05/0.1781, allocations: 11.97 kB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1781, allocations: 3.938 kB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1781, allocations: 0 / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.1781, allocations: 7.938 kB / 0.9815 GB, free: 25.82 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.0002765/0.1784, allocations: 347.7 kB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1785, allocations: 8.031 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.192e-05/0.1785, allocations: 30.75 kB / 0.9819 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.1786, allocations: 16.92 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.052e-05/0.1787, allocations: 172.3 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.1787, allocations: 8.375 kB / 0.9821 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.1787, allocations: 384 / 0.9821 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1789, allocations: 58.23 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1789, allocations: 3.938 kB / 0.9822 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1789, allocations: 4 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1789, allocations: 0 / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.1791, allocations: 71.88 kB / 0.9822 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.1794, allocations: 261 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.1795, allocations: 66.47 kB / 0.9825 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.1796, allocations: 36.91 kB / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1797, allocations: 0 / 0.9826 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.1797, allocations: 30.56 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.1797, allocations: 0 / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000351/0.18, allocations: 125.6 kB / 0.9827 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.1801, allocations: 59.39 kB / 0.9828 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.977e-05/0.1801, allocations: 106 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.1801, allocations: 25.7 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.1802, allocations: 88.12 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.1802, allocations: 7.844 kB / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.1802, allocations: 0 / 0.983 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.683e-05/0.1802, allocations: 314.8 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.1803, allocations: 35.97 kB / 0.9833 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.1804, allocations: 27.98 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1806, allocations: 68.81 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1806, allocations: 7.875 kB / 0.9834 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.1808, allocations: 101.5 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.1808, allocations: 4 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1808, allocations: 3.984 kB / 0.9835 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1808, allocations: 7.984 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.1809, allocations: 11.98 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.181, allocations: 0 / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.755e-05/0.181, allocations: 16.02 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.181, allocations: 4 kB / 0.9836 GB, free: 23.5 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.1811, allocations: 118.9 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1811, allocations: 0 / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.1811, allocations: 7.531 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1811, allocations: 3.938 kB / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1812, allocations: 0 / 0.9837 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1812, allocations: 3.984 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.1813, allocations: 173.6 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1813, allocations: 256 / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.341e-05/0.1814, allocations: 19.92 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1814, allocations: 4 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1814, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1814, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1814, allocations: 0 / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.1816, allocations: 191.4 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.1816, allocations: 81.02 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.1817, allocations: 8.031 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.047e-05/0.1817, allocations: 15.98 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.1818, allocations: 0 / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1818, allocations: 0 / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.019e-05/0.1818, allocations: 79.28 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1818, allocations: 0 / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001846/0.182, allocations: 8 kB / 0.9843 GB, free: 22.71 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003554/0.1824, allocations: 0.728 MB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.1826, allocations: 67.94 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1826, allocations: 4.062 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.1827, allocations: 27.98 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1829, allocations: 14.59 kB / 0.9851 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.1833, allocations: 162.3 kB / 0.9852 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.922e-05/0.1834, allocations: 0.6809 MB / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.1834, allocations: 3.906 kB / 0.9859 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.1834, allocations: 7.438 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.1834, allocations: 0 / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5811/0.7645, allocations: 1.186 MB / 0.9871 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/0.7647, allocations: 193.5 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.896, allocations: 0 / 0.9873 GB, free: 19.64 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)