Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 170.3 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205 MB / 0.576 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007905/0.0007905, allocations: 93.17 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 14.17 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1727, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001416/0.1742, allocations: 1.184 MB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005645/0.1748, allocations: 412.4 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.1748, allocations: 0 / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.1749, allocations: 0 / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.514e-05/0.1749, allocations: 3.938 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1752, allocations: 77.72 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.426e-05/0.1752, allocations: 23.92 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.1753, allocations: 11.98 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.1753, allocations: 7.938 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.968e-05/0.1754, allocations: 7.984 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1754, allocations: 7.938 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.1757, allocations: 271.6 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.1757, allocations: 7.984 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.1757, allocations: 11.94 kB / 0.8982 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1759, allocations: 107.8 kB / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1759, allocations: 0 / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1759, allocations: 0 / 0.8983 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.1759, allocations: 0 / 0.8983 GB, free: 65.93 MB / 0.6042 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.0003803/0.1763, allocations: 359.6 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1763, allocations: 8.031 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.1764, allocations: 30.75 kB / 0.8986 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.1764, allocations: 12.84 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.051e-05/0.1765, allocations: 168.3 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1765, allocations: 384 / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.1765, allocations: 4.375 kB / 0.8988 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1767, allocations: 59.05 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1767, allocations: 3.938 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1767, allocations: 0 / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1767, allocations: 4 kB / 0.8989 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.1769, allocations: 43.97 kB / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.1771, allocations: 253 kB / 0.8992 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.1772, allocations: 46.5 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.1773, allocations: 36.83 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/0.1778, allocations: 457.5 kB / 0.8997 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.297e-05/0.1779, allocations: 34.56 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1779, allocations: 0 / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003391/0.1782, allocations: 101.5 kB / 0.8998 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.1782, allocations: 55.41 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.497e-05/0.1783, allocations: 105.9 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.1783, allocations: 33.7 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.1783, allocations: 84.14 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1784, allocations: 3.906 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.1784, allocations: 9.719 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.1784, allocations: 322.8 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.1785, allocations: 19.92 kB / 0.9004 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/0.1786, allocations: 27.98 kB / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1787, allocations: 48.81 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1787, allocations: 8 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.1789, allocations: 77.66 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1789, allocations: 4 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1789, allocations: 0 / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1789, allocations: 0 / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.179, allocations: 16.02 kB / 0.9006 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.179, allocations: 3.938 kB / 0.9006 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.1791, allocations: 11.98 kB / 0.9006 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.1791, allocations: 0 / 0.9006 GB, free: 63.2 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/0.1791, allocations: 121.7 kB / 0.9007 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1792, allocations: 0 / 0.9007 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.1794, allocations: 85.19 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1794, allocations: 0 / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1794, allocations: 4 kB / 0.9008 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1794, allocations: 3.984 kB / 0.9008 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.1795, allocations: 161.5 kB / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1795, allocations: 4.031 kB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.165e-05/0.1796, allocations: 11.98 kB / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1796, allocations: 0 / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1796, allocations: 4 kB / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1796, allocations: 0 / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1796, allocations: 0 / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1798, allocations: 179.4 kB / 0.9012 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.519e-05/0.1798, allocations: 81.11 kB / 0.9012 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1799, allocations: 0 / 0.9012 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.1799, allocations: 7.984 kB / 0.9012 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.18, allocations: 4.25 kB / 0.9012 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.18, allocations: 7.969 kB / 0.9013 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.203e-05/0.18, allocations: 91.27 kB / 0.9013 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.18, allocations: 0 / 0.9013 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000204/0.1802, allocations: 12 kB / 0.9014 GB, free: 62.34 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000389/0.1806, allocations: 0.7279 MB / 0.9021 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.1808, allocations: 51.98 kB / 0.9021 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1808, allocations: 0 / 0.9021 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.68e-05/0.1809, allocations: 23.98 kB / 0.9021 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1811, allocations: 4 kB / 0.9021 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.1815, allocations: 149 kB / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.085e-05/0.1816, allocations: 0.6809 MB / 0.9029 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.1816, allocations: 4 kB / 0.903 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.1816, allocations: 7.438 kB / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1816, allocations: 0 / 0.903 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.1963, allocations: 1.353 MB / 0.9043 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.1965, allocations: 214.3 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/1.65, allocations: 0 / 0.9045 GB, free: 59.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)