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.002072/0.002072, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.00253/0.00253, allocations: 208.3 kB / 19.43 MB, free: 3.645 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.8689/0.8689, allocations: 134 MB / 442.8 MB, free: 11.32 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.001921/0.001921, allocations: 66.31 kB / 0.6135 GB, free: 8.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1681, allocations: 85.85 MB / 0.6973 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001967/0.17, allocations: 0.585 MB / 0.6979 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.1704, allocations: 99.67 kB / 0.698 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.1704, allocations: 0 / 0.698 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.1704, allocations: 0 / 0.698 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.1704, allocations: 0 / 0.698 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.1707, allocations: 11.97 kB / 0.698 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.1707, allocations: 19.92 kB / 0.698 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.1708, allocations: 4 kB / 0.698 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.1708, allocations: 0 / 0.698 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.1709, allocations: 4 kB / 0.698 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1709, allocations: 0 / 0.698 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.171, allocations: 15.98 kB / 0.698 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.171, allocations: 3.938 kB / 0.698 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.171, allocations: 3.984 kB / 0.698 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1711, allocations: 20.25 kB / 0.698 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1711, allocations: 0 / 0.698 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1711, allocations: 0 / 0.698 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.1711, allocations: 4 kB / 0.698 GB, free: 2.18 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.000404/0.1715, allocations: 317.4 kB / 0.6984 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1716, allocations: 13.11 kB / 0.6984 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.1716, allocations: 34.73 kB / 0.6984 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1717, allocations: 12.88 kB / 0.6984 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1719, allocations: 160.4 kB / 0.6986 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1719, allocations: 8.312 kB / 0.6986 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.1719, allocations: 384 / 0.6986 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.172, allocations: 50.58 kB / 0.6986 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.172, allocations: 3.938 kB / 0.6986 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.172, allocations: 3.938 kB / 0.6986 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.172, allocations: 0 / 0.6986 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/0.1721, allocations: 11.98 kB / 0.6986 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.1723, allocations: 157.6 kB / 0.6988 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1725, allocations: 38.61 kB / 0.6988 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.196e-05/0.1725, allocations: 16.91 kB / 0.6988 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1725, allocations: 4 kB / 0.6988 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.1726, allocations: 34.5 kB / 0.6989 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1726, allocations: 0 / 0.6989 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002102/0.1728, allocations: 57.61 kB / 0.6989 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.1728, allocations: 55.41 kB / 0.699 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.431e-05/0.1729, allocations: 93.86 kB / 0.6991 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1729, allocations: 25.7 kB / 0.6991 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.1729, allocations: 80.14 kB / 0.6992 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.1729, allocations: 7.953 kB / 0.6992 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.173, allocations: 17.7 kB / 0.6992 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1732, allocations: 314.8 kB / 0.6995 GB, free: 480 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.1732, allocations: 4 kB / 0.6995 GB, free: 476 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.1732, allocations: 11.98 kB / 0.6995 GB, free: 464 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.852e-05/0.1733, allocations: 28.78 kB / 0.6995 GB, free: 432 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1733, allocations: 0 / 0.6995 GB, free: 432 kB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000118/0.1734, allocations: 49.69 kB / 0.6996 GB, free: 376 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1734, allocations: 4 kB / 0.6996 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1735, allocations: 3.938 kB / 0.6996 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1735, allocations: 0 / 0.6996 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.1739, allocations: 43.94 kB / 0.6996 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.1755, allocations: 1.409 MB / 0.701 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.1755, allocations: 12.08 kB / 0.701 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-06/0.1755, allocations: 4.031 kB / 0.701 GB, free: 14.75 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.335e-05/0.1756, allocations: 113.8 kB / 0.7011 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-06/0.1756, allocations: 0 / 0.7011 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.1757, allocations: 3.5 kB / 0.7011 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1757, allocations: 7.938 kB / 0.7012 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.61e-07/0.1757, allocations: 0 / 0.7012 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1757, allocations: 0 / 0.7012 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.1758, allocations: 161.6 kB / 0.7013 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1758, allocations: 4 kB / 0.7013 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.1762, allocations: 47.88 kB / 0.7014 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1762, allocations: 0 / 0.7014 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1762, allocations: 3.984 kB / 0.7014 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.1777, allocations: 1.404 MB / 0.7027 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1777, allocations: 0 / 0.7027 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.1778, allocations: 81.02 kB / 0.7028 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1779, allocations: 81.2 kB / 0.7029 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.1779, allocations: 7.938 kB / 0.7029 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.633e-05/0.1779, allocations: 0 / 0.7029 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.1779, allocations: 3.984 kB / 0.7029 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1779, allocations: 0 / 0.7029 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.178, allocations: 79.28 kB / 0.703 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.178, allocations: 0 / 0.703 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002179/0.1782, allocations: 4 kB / 0.703 GB, free: 12.52 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.0005349/0.1787, allocations: 0.6124 MB / 0.7036 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004733/0.1792, allocations: 64 kB / 0.7036 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1792, allocations: 0 / 0.7036 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.1794, allocations: 39.95 kB / 0.7037 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.1796, allocations: 0 / 0.7037 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.1801, allocations: 134.5 kB / 0.7038 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1804, allocations: 0.6729 MB / 0.7045 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.1804, allocations: 4 kB / 0.7045 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.1804, allocations: 11.42 kB / 0.7045 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1804, allocations: 0 / 0.7045 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2053, allocations: 1.276 MB / 0.7057 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.51, allocations: 9.219 kB / 0.7057 GB, free: 9.766 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: 15.247572173990193] Failed to read output from testmodel.py, exit status != 0: 11.604981943004532 11.629789979 11.454146972 Calling exit ...