Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001432/0.001432, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001491/0.001491, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8462/0.8462, allocations: 134 MB / 446.4 MB, free: 9.906 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002003/0.002003, allocations: 70.34 kB / 0.6185 GB, free: 6.832 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1668, allocations: 85.91 MB / 0.7024 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001891/0.1687, allocations: 0.586 MB / 0.703 GB, free: 436 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.169, allocations: 100.2 kB / 0.7031 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.1691, allocations: 0 / 0.7031 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.1691, allocations: 0 / 0.7031 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.891e-05/0.1691, allocations: 0 / 0.7031 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.1693, allocations: 11.92 kB / 0.7031 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.513e-05/0.1694, allocations: 15.92 kB / 0.7031 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.1694, allocations: 4 kB / 0.7031 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.1694, allocations: 3.984 kB / 0.7031 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.979e-05/0.1695, allocations: 4 kB / 0.7031 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1695, allocations: 0 / 0.7031 GB, free: 296 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.404e-05/0.1696, allocations: 19.98 kB / 0.7031 GB, free: 276 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1696, allocations: 3.938 kB / 0.7031 GB, free: 272 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.1696, allocations: 3.938 kB / 0.7032 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.097e-05/0.1697, allocations: 28.17 kB / 0.7032 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1697, allocations: 0 / 0.7032 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1697, allocations: 0 / 0.7032 GB, free: 240 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.1697, allocations: 0 / 0.7032 GB, free: 240 kB / 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.0003516/0.17, allocations: 238.4 kB / 0.7034 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1701, allocations: 8.031 kB / 0.7034 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.1701, allocations: 38.73 kB / 0.7035 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1703, allocations: 16.88 kB / 0.7035 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.657e-05/0.1704, allocations: 110.5 kB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1704, allocations: 384 / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1704, allocations: 384 / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1705, allocations: 42.25 kB / 0.7036 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1705, allocations: 3.938 kB / 0.7036 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1705, allocations: 0 / 0.7036 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1705, allocations: 0 / 0.7036 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.204e-05/0.1706, allocations: 15.92 kB / 0.7036 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.1708, allocations: 124.8 kB / 0.7038 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.171, allocations: 38.56 kB / 0.7038 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.171, allocations: 16.91 kB / 0.7038 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.171, allocations: 0 / 0.7038 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1711, allocations: 34.56 kB / 0.7038 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1711, allocations: 0 / 0.7038 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002298/0.1713, allocations: 61.55 kB / 0.7039 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.1713, allocations: 51.41 kB / 0.7039 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.723e-05/0.1714, allocations: 97.8 kB / 0.704 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1714, allocations: 29.7 kB / 0.7041 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1715, allocations: 80.14 kB / 0.7041 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.1715, allocations: 7.953 kB / 0.7041 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1716, allocations: 9.719 kB / 0.7042 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1717, allocations: 322.8 kB / 0.7045 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.1717, allocations: 4 kB / 0.7045 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.1718, allocations: 7.984 kB / 0.7045 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.325e-05/0.1719, allocations: 17.14 kB / 0.7045 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1719, allocations: 4 kB / 0.7045 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001323/0.172, allocations: 57.59 kB / 0.7046 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.172, allocations: 4 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.172, allocations: 3.938 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.172, allocations: 4 kB / 0.7046 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.1724, allocations: 35.94 kB / 0.7046 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.174, allocations: 1.301 MB / 0.7059 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.174, allocations: 8.125 kB / 0.7059 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.174, allocations: 8 kB / 0.7059 GB, free: 13.16 MB / 0.5294 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.0001019/0.1741, allocations: 109.8 kB / 0.706 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1741, allocations: 7.953 kB / 0.706 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.1741, allocations: 7.531 kB / 0.706 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1741, allocations: 0 / 0.706 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1741, allocations: 0 / 0.706 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1741, allocations: 3.984 kB / 0.706 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.1743, allocations: 124.7 kB / 0.7061 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1743, allocations: 4 kB / 0.7061 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.1746, allocations: 47.92 kB / 0.7062 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1746, allocations: 0 / 0.7062 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1746, allocations: 0 / 0.7062 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.176, allocations: 1.301 MB / 0.7074 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.176, allocations: 0 / 0.7074 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.1762, allocations: 81.33 kB / 0.7075 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-06/0.1762, allocations: 11.94 kB / 0.7075 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.1762, allocations: 3.938 kB / 0.7075 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.462e-05/0.1762, allocations: 0 / 0.7075 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.1762, allocations: 7.984 kB / 0.7075 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.1762, allocations: 3.938 kB / 0.7076 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.385e-05/0.1763, allocations: 75.28 kB / 0.7076 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1763, allocations: 0 / 0.7076 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000194/0.1764, allocations: 8 kB / 0.7076 GB, free: 11.18 MB / 0.5294 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.0004767/0.1769, allocations: 0.6117 MB / 0.7082 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.1774, allocations: 55.86 kB / 0.7083 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1774, allocations: 0 / 0.7083 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1776, allocations: 43.95 kB / 0.7083 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1778, allocations: 0 / 0.7083 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.1784, allocations: 122.5 kB / 0.7084 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.1784, allocations: 55.36 kB / 0.7085 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.1785, allocations: 0 / 0.7085 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.1785, allocations: 19.42 kB / 0.7085 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.1785, allocations: 0 / 0.7085 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02882/0.2073, allocations: 1.759 MB / 0.7102 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.72, allocations: 1.891 kB / 0.7102 GB, free: 8.562 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.391434218734503] Failed to read output from testmodel.py, exit status != 0: 12.839249188546091 12.858079583 12.685128489 Calling exit ...