Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.001397/0.001397, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.9842/0.9842, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.91 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1669, allocations: 82.03 MB / 0.5944 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.003123/0.17, allocations: 1.433 MB / 0.5958 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.1704, allocations: 92.58 kB / 0.5959 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.1704, allocations: 0 / 0.5959 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.1705, allocations: 0 / 0.5959 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.1706, allocations: 7.875 kB / 0.5959 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1708, allocations: 19.91 kB / 0.5959 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.1709, allocations: 20 kB / 0.5959 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.171, allocations: 11.98 kB / 0.5959 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.1711, allocations: 11.94 kB / 0.5959 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.1711, allocations: 15.92 kB / 0.596 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1712, allocations: 0 / 0.596 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.1712, allocations: 15.98 kB / 0.596 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.1713, allocations: 7.984 kB / 0.596 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1713, allocations: 11.88 kB / 0.596 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1714, allocations: 31.95 kB / 0.596 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1715, allocations: 0 / 0.596 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1715, allocations: 0 / 0.596 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1715, allocations: 0 / 0.596 GB, free: 7.816 MB / 0.4981 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.0005127/0.172, allocations: 351.6 kB / 0.5964 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1721, allocations: 12.03 kB / 0.5964 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1721, allocations: 34.69 kB / 0.5964 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.1723, allocations: 12.92 kB / 0.5964 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1724, allocations: 168.3 kB / 0.5966 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1724, allocations: 4.375 kB / 0.5966 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1725, allocations: 4.375 kB / 0.5966 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1727, allocations: 54.23 kB / 0.5966 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1727, allocations: 7.938 kB / 0.5966 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1727, allocations: 0 / 0.5966 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1727, allocations: 3.938 kB / 0.5966 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.1729, allocations: 47.94 kB / 0.5967 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.1733, allocations: 265 kB / 0.5969 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1735, allocations: 58.47 kB / 0.597 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1736, allocations: 28.91 kB / 0.597 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1736, allocations: 0 / 0.597 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1737, allocations: 38.5 kB / 0.5971 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1737, allocations: 0 / 0.5971 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000433/0.1741, allocations: 105.6 kB / 0.5972 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.1742, allocations: 51.41 kB / 0.5972 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.1742, allocations: 101.9 kB / 0.5973 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.1743, allocations: 25.7 kB / 0.5973 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.1743, allocations: 96.14 kB / 0.5974 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1743, allocations: 3.938 kB / 0.5974 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.1744, allocations: 17.72 kB / 0.5975 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.1745, allocations: 310.8 kB / 0.5977 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1746, allocations: 23.97 kB / 0.5978 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.742e-05/0.1747, allocations: 27.97 kB / 0.5978 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1749, allocations: 56.81 kB / 0.5979 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1749, allocations: 3.938 kB / 0.5979 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002464/0.1752, allocations: 81.56 kB / 0.5979 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.1752, allocations: 4 kB / 0.5979 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1752, allocations: 4.031 kB / 0.5979 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1752, allocations: 4 kB / 0.5979 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1754, allocations: 8.234 kB / 0.598 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1754, allocations: 0 / 0.598 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.1754, allocations: 15.98 kB / 0.598 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1754, allocations: 0 / 0.598 GB, free: 5.59 MB / 0.4981 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 6.719e-05/0.1755, allocations: 113.7 kB / 0.5981 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1756, allocations: 4 kB / 0.5981 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.1756, allocations: 15.52 kB / 0.5981 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1756, allocations: 3.938 kB / 0.5981 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1756, allocations: 3.938 kB / 0.5981 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1756, allocations: 0 / 0.5981 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1758, allocations: 165.6 kB / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1758, allocations: 0 / 0.5983 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.1759, allocations: 11.98 kB / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1759, allocations: 0 / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1759, allocations: 0 / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1759, allocations: 0 / 0.5983 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1759, allocations: 4 kB / 0.5983 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1762, allocations: 183.3 kB / 0.5984 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.1762, allocations: 81.11 kB / 0.5985 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1763, allocations: 0 / 0.5985 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.1764, allocations: 7.984 kB / 0.5985 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1764, allocations: 4.031 kB / 0.5985 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1764, allocations: 4 kB / 0.5985 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.1765, allocations: 87.27 kB / 0.5986 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1765, allocations: 3.938 kB / 0.5986 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.1767, allocations: 4 kB / 0.5986 GB, free: 4.809 MB / 0.4981 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.0005399/0.1772, allocations: 0.7085 MB / 0.5993 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1775, allocations: 43.95 kB / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1775, allocations: 0 / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1776, allocations: 36 kB / 0.5994 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1779, allocations: 8 kB / 0.5994 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.1785, allocations: 151 kB / 0.5996 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.1787, allocations: 0.6768 MB / 0.6002 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.1788, allocations: 4.062 kB / 0.6002 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.1788, allocations: 19.42 kB / 0.6002 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1788, allocations: 0 / 0.6002 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01787/0.1967, allocations: 1.432 MB / 0.6016 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.617, allocations: 3.938 kB / 0.6016 GB, free: 1.715 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)