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.001327/0.001327, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001454/0.001454, allocations: 215.3 kB / 22.25 MB, free: 5.125 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.988 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.8697/0.8697, allocations: 134 MB / 446.4 MB, free: 10.21 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.002019/0.002019, allocations: 67.3 kB / 0.6186 GB, free: 7.152 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1869, allocations: 85.9 MB / 0.7025 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001909/0.1888, allocations: 0.5896 MB / 0.7031 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.1891, allocations: 104.1 kB / 0.7032 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.1892, allocations: 0 / 0.7032 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.1892, allocations: 4 kB / 0.7032 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.1892, allocations: 0 / 0.7032 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1895, allocations: 15.92 kB / 0.7032 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.419e-05/0.1895, allocations: 8 kB / 0.7032 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.1896, allocations: 4 kB / 0.7032 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.1896, allocations: 0 / 0.7032 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.1897, allocations: 7.984 kB / 0.7032 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.1897, allocations: 3.984 kB / 0.7032 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.971e-05/0.1898, allocations: 19.92 kB / 0.7032 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1898, allocations: 0 / 0.7032 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.754e-05/0.1898, allocations: 4 kB / 0.7032 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.566e-05/0.1899, allocations: 20.2 kB / 0.7032 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1899, allocations: 0 / 0.7032 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1899, allocations: 3.938 kB / 0.7032 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1899, allocations: 0 / 0.7032 GB, free: 0.5547 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.0003641/0.1903, allocations: 238.5 kB / 0.7035 GB, free: 296 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1903, allocations: 8.031 kB / 0.7035 GB, free: 288 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.1904, allocations: 34.75 kB / 0.7035 GB, free: 244 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1905, allocations: 20.81 kB / 0.7035 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1906, allocations: 110.5 kB / 0.7036 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1906, allocations: 384 / 0.7036 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.1906, allocations: 384 / 0.7036 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1908, allocations: 42.19 kB / 0.7037 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1908, allocations: 7.938 kB / 0.7037 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1908, allocations: 0 / 0.7037 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1908, allocations: 0 / 0.7037 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.342e-05/0.1909, allocations: 15.97 kB / 0.7037 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1911, allocations: 120.8 kB / 0.7038 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1913, allocations: 42.59 kB / 0.7039 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.1913, allocations: 12.92 kB / 0.7039 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1913, allocations: 3.938 kB / 0.7039 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1913, allocations: 30.56 kB / 0.7039 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1913, allocations: 4 kB / 0.7039 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002261/0.1916, allocations: 61.59 kB / 0.704 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1916, allocations: 51.41 kB / 0.704 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.992e-05/0.1917, allocations: 93.86 kB / 0.7041 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1917, allocations: 29.7 kB / 0.7041 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.1917, allocations: 80.14 kB / 0.7042 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1918, allocations: 11.92 kB / 0.7042 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1918, allocations: 13.72 kB / 0.7042 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1919, allocations: 318.8 kB / 0.7045 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.192, allocations: 7.984 kB / 0.7045 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.192, allocations: 11.94 kB / 0.7046 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.1921, allocations: 20.84 kB / 0.7046 GB, free: 15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1921, allocations: 0 / 0.7046 GB, free: 15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001137/0.1922, allocations: 45.69 kB / 0.7046 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1922, allocations: 8 kB / 0.7046 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1922, allocations: 7.938 kB / 0.7046 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1923, allocations: 0 / 0.7046 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.1926, allocations: 43.92 kB / 0.7047 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.1941, allocations: 1.301 MB / 0.7059 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.1941, allocations: 3.984 kB / 0.7059 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1941, allocations: 0 / 0.7059 GB, free: 13.48 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 8.201e-05/0.1942, allocations: 113.8 kB / 0.7061 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.1942, allocations: 7.891 kB / 0.7061 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.1942, allocations: 15.53 kB / 0.7061 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1942, allocations: 0 / 0.7061 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.1942, allocations: 0 / 0.7061 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1943, allocations: 0 / 0.7061 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1944, allocations: 124.7 kB / 0.7062 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1944, allocations: 3.938 kB / 0.7062 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.1947, allocations: 51.92 kB / 0.7063 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1947, allocations: 0 / 0.7063 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1947, allocations: 4 kB / 0.7063 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.196, allocations: 1.305 MB / 0.7075 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.196, allocations: 3.938 kB / 0.7075 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.1961, allocations: 73.23 kB / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.1961, allocations: 4 kB / 0.7076 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.1961, allocations: 7.938 kB / 0.7076 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.895e-05/0.1962, allocations: 3.984 kB / 0.7076 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.235e-05/0.1962, allocations: 4 kB / 0.7076 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.1962, allocations: 0 / 0.7076 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.1962, allocations: 83.28 kB / 0.7077 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1962, allocations: 0 / 0.7077 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001841/0.1964, allocations: 0 / 0.7077 GB, free: 11.49 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.0004837/0.1969, allocations: 0.6116 MB / 0.7083 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.1973, allocations: 63.91 kB / 0.7084 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1973, allocations: 0 / 0.7084 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.1976, allocations: 43.89 kB / 0.7084 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.1977, allocations: 0 / 0.7084 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.1981, allocations: 118.6 kB / 0.7085 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1984, allocations: 0.6729 MB / 0.7092 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.1984, allocations: 0 / 0.7092 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1985, allocations: 11.42 kB / 0.7092 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1985, allocations: 8 kB / 0.7092 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.2269, allocations: 1.322 MB / 0.7105 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.38, allocations: 5.812 kB / 0.7105 GB, free: 8.68 MB / 0.5294 GB " [Timeout remaining time 648] (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.015439798000443] Failed to read output from testmodel.py, exit status != 0: 12.491828042002453 12.508176351 12.315043501 Calling exit ...