Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.38/1.38, allocations: 288.4 MB / 303.6 MB, free: 7.984 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.0008948/0.0008948, allocations: 181.6 kB / 372.2 MB, free: 10.09 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.124/1.124, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0006984/0.0006984, allocations: 94.34 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 16.41 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1609, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001289/0.1622, allocations: 1.148 MB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000532/0.1628, allocations: 360.9 kB / 0.9816 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.1628, allocations: 0 / 0.9816 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1628, allocations: 0 / 0.9816 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.1629, allocations: 3.938 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1632, allocations: 71.86 kB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.1633, allocations: 31.84 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.1634, allocations: 4 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.454e-05/0.1634, allocations: 11.92 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.1e-05/0.1634, allocations: 11.98 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1635, allocations: 0 / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.1637, allocations: 259.7 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.1638, allocations: 11.88 kB / 0.982 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.1638, allocations: 33.64 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.1639, allocations: 75.86 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1639, allocations: 4 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1639, allocations: 0 / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1639, allocations: 0 / 0.9821 GB, free: 25.21 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.000341/0.1643, allocations: 369.8 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1643, allocations: 8.031 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.093e-05/0.1644, allocations: 30.75 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.1644, allocations: 4.938 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.449e-05/0.1645, allocations: 172.3 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1645, allocations: 384 / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1645, allocations: 4.375 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1647, allocations: 54.23 kB / 0.9828 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1647, allocations: 3.938 kB / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1647, allocations: 0 / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1647, allocations: 0 / 0.9828 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1648, allocations: 51.89 kB / 0.9828 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.1651, allocations: 248.9 kB / 0.9831 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1652, allocations: 54.52 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.1653, allocations: 28.91 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004921/0.1658, allocations: 461.5 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.1658, allocations: 34.5 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1658, allocations: 3.938 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003393/0.1662, allocations: 101.6 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.1662, allocations: 51.41 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.939e-05/0.1663, allocations: 101.9 kB / 0.9838 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.1663, allocations: 25.7 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.1663, allocations: 96.25 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.1663, allocations: 7.844 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1663, allocations: 0 / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.1664, allocations: 310.8 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.1665, allocations: 23.98 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.685e-05/0.1666, allocations: 27.97 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1667, allocations: 52.77 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1667, allocations: 3.938 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.1669, allocations: 81.62 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1669, allocations: 4 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1669, allocations: 4 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1669, allocations: 0 / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.167, allocations: 12.03 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.167, allocations: 3.984 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.1671, allocations: 7.938 kB / 0.9845 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1671, allocations: 4 kB / 0.9845 GB, free: 22.49 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.446e-05/0.1671, allocations: 117.8 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.1672, allocations: 4 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.1674, allocations: 93.11 kB / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1674, allocations: 0 / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1674, allocations: 0 / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1674, allocations: 0 / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.1675, allocations: 161.6 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1675, allocations: 3.984 kB / 0.9848 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.217e-05/0.1676, allocations: 12.03 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1676, allocations: 0 / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.1676, allocations: 0 / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1676, allocations: 0 / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1676, allocations: 256 / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.1678, allocations: 183.4 kB / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.1678, allocations: 88.94 kB / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.1679, allocations: 4 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.1679, allocations: 8 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.168, allocations: 3.984 kB / 0.9851 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.168, allocations: 0 / 0.9851 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.258e-05/0.168, allocations: 91.31 kB / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.168, allocations: 0 / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001995/0.1682, allocations: 16 kB / 0.9852 GB, free: 21.62 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.0003886/0.1686, allocations: 0.7163 MB / 0.9859 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1688, allocations: 43.91 kB / 0.986 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1688, allocations: 8.094 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.589e-05/0.1689, allocations: 27.97 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1691, allocations: 0 / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.1694, allocations: 143.2 kB / 0.9861 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.536e-05/0.1695, allocations: 0.6887 MB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.1695, allocations: 0 / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.1696, allocations: 7.438 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.1696, allocations: 0 / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.484/1.654, allocations: 1.333 MB / 0.9881 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/1.654, allocations: 192 kB / 0.9883 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.388/3.042, allocations: 64 / 0.9883 GB, free: 18.46 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)