Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 112.9 kB / 17.12 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 212.3 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.05/1.05, allocations: 150 MB / 459.5 MB, free: 5.273 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 71.23 kB / 0.6362 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1741, allocations: 89.14 MB / 0.7232 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001778/0.1759, allocations: 0.5805 MB / 0.7238 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002934/0.1762, allocations: 91.72 kB / 0.7239 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.1762, allocations: 0 / 0.7239 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.1762, allocations: 3.938 kB / 0.7239 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.1763, allocations: 0 / 0.7239 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.1765, allocations: 19.98 kB / 0.7239 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.1766, allocations: 4 kB / 0.7239 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1766, allocations: 4 kB / 0.7239 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.1766, allocations: 7.984 kB / 0.7239 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.1767, allocations: 15.86 kB / 0.7239 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1767, allocations: 0 / 0.7239 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.645e-05/0.1768, allocations: 11.98 kB / 0.7239 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1768, allocations: 4 kB / 0.7239 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.1768, allocations: 0 / 0.7239 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.55e-05/0.1769, allocations: 16.25 kB / 0.7239 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1769, allocations: 0 / 0.7239 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1769, allocations: 3.938 kB / 0.724 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.1769, allocations: 0 / 0.724 GB, free: 3.234 MB / 0.5294 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.0004012/0.1773, allocations: 333.2 kB / 0.7243 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1773, allocations: 8.031 kB / 0.7243 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.1774, allocations: 30.75 kB / 0.7243 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.1775, allocations: 8.922 kB / 0.7243 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1776, allocations: 160.4 kB / 0.7245 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.1777, allocations: 8.375 kB / 0.7245 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1777, allocations: 384 / 0.7245 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1778, allocations: 38.66 kB / 0.7245 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1778, allocations: 3.938 kB / 0.7245 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1778, allocations: 0 / 0.7245 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.1778, allocations: 4 kB / 0.7245 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.698e-05/0.1779, allocations: 23.89 kB / 0.7245 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.1781, allocations: 161.6 kB / 0.7247 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1783, allocations: 42.66 kB / 0.7247 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.1783, allocations: 12.86 kB / 0.7248 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.1783, allocations: 0 / 0.7248 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1784, allocations: 34.56 kB / 0.7248 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1784, allocations: 0 / 0.7248 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002158/0.1786, allocations: 61.55 kB / 0.7248 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1786, allocations: 51.41 kB / 0.7249 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.388e-05/0.1787, allocations: 93.86 kB / 0.725 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1787, allocations: 25.7 kB / 0.725 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.1787, allocations: 80.14 kB / 0.7251 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.1787, allocations: 11.94 kB / 0.7251 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.1788, allocations: 17.72 kB / 0.7251 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1789, allocations: 314.8 kB / 0.7254 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.179, allocations: 11.98 kB / 0.7254 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.179, allocations: 4 kB / 0.7254 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/0.1791, allocations: 28.78 kB / 0.7255 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1791, allocations: 0 / 0.7255 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001179/0.1792, allocations: 45.69 kB / 0.7255 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1792, allocations: 4 kB / 0.7255 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1792, allocations: 3.938 kB / 0.7255 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1792, allocations: 4 kB / 0.7255 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004065/0.1796, allocations: 43.92 kB / 0.7255 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.1811, allocations: 1.4 MB / 0.7269 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.1812, allocations: 7.969 kB / 0.7269 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1812, allocations: 4.094 kB / 0.7269 GB, free: 15.81 MB / 0.545 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 0.0001072/0.1813, allocations: 109.8 kB / 0.727 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.1813, allocations: 336 / 0.727 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.1813, allocations: 15.44 kB / 0.727 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1813, allocations: 0 / 0.727 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1813, allocations: 3.984 kB / 0.7271 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1813, allocations: 0 / 0.7271 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1815, allocations: 161.6 kB / 0.7272 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1815, allocations: 0 / 0.7272 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.1819, allocations: 51.92 kB / 0.7273 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1819, allocations: 0 / 0.7273 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.1819, allocations: 0 / 0.7273 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.1833, allocations: 1.413 MB / 0.7286 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1833, allocations: 0 / 0.7286 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.1835, allocations: 69.09 kB / 0.7287 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.1835, allocations: 77.11 kB / 0.7288 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1835, allocations: 16.02 kB / 0.7288 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.934e-05/0.1835, allocations: 4 kB / 0.7288 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.1836, allocations: 0 / 0.7288 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.1836, allocations: 4 kB / 0.7288 GB, free: 13.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.1836, allocations: 77.17 kB / 0.7289 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1836, allocations: 0 / 0.7289 GB, free: 13.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002182/0.1838, allocations: 4 kB / 0.7289 GB, free: 13.58 MB / 0.545 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.0005074/0.1843, allocations: 0.6153 MB / 0.7295 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.1848, allocations: 63.91 kB / 0.7295 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1848, allocations: 0 / 0.7295 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.1851, allocations: 35.95 kB / 0.7296 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1852, allocations: 0 / 0.7296 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.1857, allocations: 124.3 kB / 0.7297 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.186, allocations: 0.6768 MB / 0.7304 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.186, allocations: 12.2 kB / 0.7304 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.1861, allocations: 15.38 kB / 0.7304 GB, free: 11.95 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1861, allocations: 0 / 0.7304 GB, free: 11.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.2118, allocations: 1.296 MB / 0.7316 GB, free: 10.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.92, allocations: 5.75 kB / 0.7316 GB, free: 10.81 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.041715788887814] Failed to read output from testmodel.py, exit status != 0: 12.014688276220113 12.033005812 11.852874541 Calling exit ...