Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",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.007949/0.007949, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001532/0.001532, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8813/0.8813, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 64.23 kB / 0.5951 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1722, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001735/0.174, allocations: 0.5944 MB / 0.6758 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.1743, allocations: 95.72 kB / 0.6759 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.647e-05/0.1744, allocations: 4 kB / 0.6759 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1744, allocations: 0 / 0.6759 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.1745, allocations: 0 / 0.6759 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.1747, allocations: 15.92 kB / 0.6759 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.1747, allocations: 4 kB / 0.6759 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.1748, allocations: 8.328 kB / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.836e-05/0.1748, allocations: 3.984 kB / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.1749, allocations: 7.938 kB / 0.6759 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1749, allocations: 0 / 0.6759 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.175, allocations: 15.98 kB / 0.6759 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.175, allocations: 4 kB / 0.6759 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.175, allocations: 0 / 0.6759 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.95e-05/0.1751, allocations: 15.98 kB / 0.676 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1751, allocations: 0 / 0.676 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.256e-06/0.1751, allocations: 0 / 0.676 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1751, allocations: 3.938 kB / 0.676 GB, free: 10.07 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.0003457/0.1755, allocations: 319.8 kB / 0.6763 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1755, allocations: 8.031 kB / 0.6763 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.1756, allocations: 34.75 kB / 0.6763 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1757, allocations: 16.86 kB / 0.6763 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.1758, allocations: 168.4 kB / 0.6765 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1759, allocations: 4.375 kB / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1759, allocations: 384 / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.176, allocations: 42.19 kB / 0.6765 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.176, allocations: 3.938 kB / 0.6765 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.176, allocations: 0 / 0.6765 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.176, allocations: 4 kB / 0.6765 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.1761, allocations: 11.98 kB / 0.6765 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.1763, allocations: 161.7 kB / 0.6767 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1765, allocations: 46.5 kB / 0.6767 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.1765, allocations: 16.91 kB / 0.6768 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1765, allocations: 0 / 0.6768 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1766, allocations: 34.56 kB / 0.6768 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1766, allocations: 0 / 0.6768 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002126/0.1768, allocations: 61.55 kB / 0.6769 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1769, allocations: 51.41 kB / 0.6769 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.777e-05/0.1769, allocations: 89.86 kB / 0.677 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1769, allocations: 33.7 kB / 0.677 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.177, allocations: 80.14 kB / 0.6771 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.177, allocations: 7.891 kB / 0.6771 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.177, allocations: 17.72 kB / 0.6771 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1772, allocations: 318.8 kB / 0.6774 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.043e-05/0.1772, allocations: 4 kB / 0.6774 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.1772, allocations: 8.172 kB / 0.6774 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/0.1773, allocations: 20.94 kB / 0.6775 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1773, allocations: 0 / 0.6775 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001186/0.1775, allocations: 57.61 kB / 0.6775 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1775, allocations: 8 kB / 0.6775 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1775, allocations: 3.938 kB / 0.6775 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1775, allocations: 0 / 0.6775 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004028/0.1779, allocations: 43.88 kB / 0.6776 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.1794, allocations: 1.404 MB / 0.6789 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.1794, allocations: 0 / 0.6789 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.1794, allocations: 0 / 0.6789 GB, free: 6.656 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.58e-05/0.1795, allocations: 113.8 kB / 0.679 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.1795, allocations: 8.078 kB / 0.679 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.409e-05/0.1795, allocations: 7.5 kB / 0.6791 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1795, allocations: 0 / 0.6791 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1796, allocations: 0 / 0.6791 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1796, allocations: 0 / 0.6791 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.1797, allocations: 161.6 kB / 0.6792 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1797, allocations: 4 kB / 0.6792 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.1801, allocations: 47.94 kB / 0.6793 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1801, allocations: 0 / 0.6793 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1801, allocations: 0 / 0.6793 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.1814, allocations: 1.412 MB / 0.6806 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1814, allocations: 4.125 kB / 0.6806 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.1815, allocations: 73.14 kB / 0.6807 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.1816, allocations: 81.11 kB / 0.6808 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.1816, allocations: 3.938 kB / 0.6808 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.739e-05/0.1816, allocations: 0 / 0.6808 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.1816, allocations: 11.92 kB / 0.6808 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.1817, allocations: 0 / 0.6808 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.714e-05/0.1817, allocations: 79.28 kB / 0.6809 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 0.6809 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002013/0.1819, allocations: 4 kB / 0.6809 GB, free: 4.422 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004433/0.1823, allocations: 0.6085 MB / 0.6815 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004862/0.1828, allocations: 63.86 kB / 0.6815 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1829, allocations: 0 / 0.6815 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.1831, allocations: 43.95 kB / 0.6816 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1833, allocations: 0 / 0.6816 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.1837, allocations: 118.6 kB / 0.6817 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.184, allocations: 0.6806 MB / 0.6824 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.1841, allocations: 4 kB / 0.6824 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.1841, allocations: 11.44 kB / 0.6824 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.1841, allocations: 0 / 0.6824 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.2045, allocations: 1.306 MB / 0.6836 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.42, allocations: 11.19 kB / 0.6837 GB, free: 1.664 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized_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_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)