Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00922/0.00922, allocations: 106 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 193.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9081/0.9081, allocations: 143.3 MB / 433.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002947/0.002947, allocations: 64.19 kB / 0.5953 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1697, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002542/0.1723, allocations: 1.441 MB / 0.6768 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007515/0.1731, allocations: 383.5 kB / 0.6772 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.1731, allocations: 0 / 0.6772 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.1731, allocations: 3.938 kB / 0.6772 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.1732, allocations: 4 kB / 0.6772 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1736, allocations: 123.5 kB / 0.6773 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.1737, allocations: 27.86 kB / 0.6773 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.1738, allocations: 11.98 kB / 0.6774 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.939e-05/0.1739, allocations: 4 kB / 0.6774 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.1739, allocations: 15.92 kB / 0.6774 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1739, allocations: 0 / 0.6774 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.1743, allocations: 279.7 kB / 0.6776 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.1744, allocations: 7.984 kB / 0.6777 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1744, allocations: 11.92 kB / 0.6777 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1746, allocations: 107.9 kB / 0.6778 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1746, allocations: 8 kB / 0.6778 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1746, allocations: 0 / 0.6778 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1746, allocations: 3.938 kB / 0.6778 GB, free: 8.18 MB / 0.5137 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.0005002/0.1751, allocations: 367.1 kB / 0.6781 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1752, allocations: 8.031 kB / 0.6781 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.1752, allocations: 30.75 kB / 0.6782 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.1753, allocations: 12.88 kB / 0.6782 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1754, allocations: 160.4 kB / 0.6783 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1754, allocations: 384 / 0.6783 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1754, allocations: 8.375 kB / 0.6783 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1756, allocations: 54.17 kB / 0.6784 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1756, allocations: 3.938 kB / 0.6784 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1757, allocations: 0 / 0.6784 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1757, allocations: 0 / 0.6784 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.1758, allocations: 35.97 kB / 0.6784 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.1762, allocations: 249 kB / 0.6787 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1763, allocations: 50.42 kB / 0.6787 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.33e-05/0.1764, allocations: 24.91 kB / 0.6787 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/0.1771, allocations: 457.5 kB / 0.6792 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1772, allocations: 34.55 kB / 0.6792 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.1772, allocations: 0 / 0.6792 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003769/0.1776, allocations: 85.7 kB / 0.6793 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1776, allocations: 55.39 kB / 0.6793 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.1777, allocations: 101.9 kB / 0.6794 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1777, allocations: 25.7 kB / 0.6795 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.1778, allocations: 92.12 kB / 0.6796 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1778, allocations: 7.938 kB / 0.6796 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.1778, allocations: 9.719 kB / 0.6796 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.178, allocations: 322.8 kB / 0.6799 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.619e-05/0.1781, allocations: 16.02 kB / 0.6799 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.1781, allocations: 19.97 kB / 0.6799 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.1783, allocations: 37.08 kB / 0.6799 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1783, allocations: 3.938 kB / 0.6799 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002205/0.1786, allocations: 77.72 kB / 0.68 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1786, allocations: 8 kB / 0.68 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1786, allocations: 0 / 0.68 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1786, allocations: 0 / 0.68 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.1787, allocations: 11.92 kB / 0.68 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1787, allocations: 7.938 kB / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.1788, allocations: 0 / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.1788, allocations: 4 kB / 0.6801 GB, free: 5.52 MB / 0.5137 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 7.694e-05/0.1789, allocations: 113.8 kB / 0.6802 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.1789, allocations: 11.94 kB / 0.6802 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.1791, allocations: 73.12 kB / 0.6802 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1792, allocations: 7.938 kB / 0.6803 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1792, allocations: 0 / 0.6803 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1792, allocations: 0 / 0.6803 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1794, allocations: 161.6 kB / 0.6804 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1794, allocations: 0 / 0.6804 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.1794, allocations: 12.03 kB / 0.6804 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.1794, allocations: 3.984 kB / 0.6804 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.1794, allocations: 0 / 0.6804 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1795, allocations: 0 / 0.6804 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.1795, allocations: 11.91 kB / 0.6804 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.1797, allocations: 163.5 kB / 0.6806 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-05/0.1798, allocations: 85.09 kB / 0.6807 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1798, allocations: 0 / 0.6807 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.1799, allocations: 4 kB / 0.6807 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.1799, allocations: 7.984 kB / 0.6807 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1799, allocations: 0 / 0.6807 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.18, allocations: 83.28 kB / 0.6808 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.18, allocations: 0 / 0.6808 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002326/0.1802, allocations: 15.95 kB / 0.6808 GB, free: 4.68 MB / 0.5137 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.0006314/0.1809, allocations: 0.7162 MB / 0.6815 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1811, allocations: 35.97 kB / 0.6815 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1811, allocations: 4.094 kB / 0.6815 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.1812, allocations: 23.97 kB / 0.6815 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.1815, allocations: 0 / 0.6815 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.1819, allocations: 147 kB / 0.6817 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.1822, allocations: 0.6768 MB / 0.6823 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.1822, allocations: 0 / 0.6823 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.1823, allocations: 23.44 kB / 0.6824 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1823, allocations: 0 / 0.6824 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.2037, allocations: 1.614 MB / 0.6839 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.489, allocations: 12.06 kB / 0.6839 GB, free: 1.434 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)