Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001746/0.001746, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002077/0.002077, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.8205/0.8205, allocations: 134 MB / 442.8 MB, free: 11.33 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.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.001865/0.001865, allocations: 70.11 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1678, allocations: 85.85 MB / 0.6973 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002773/0.1706, allocations: 1.448 MB / 0.6987 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.1709, allocations: 101 kB / 0.6988 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.171, allocations: 0 / 0.6988 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.171, allocations: 3.938 kB / 0.6988 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.1711, allocations: 3.938 kB / 0.6988 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.1713, allocations: 19.97 kB / 0.6988 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.751e-05/0.1714, allocations: 23.88 kB / 0.6988 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1715, allocations: 11.98 kB / 0.6988 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.1715, allocations: 4 kB / 0.6988 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.1716, allocations: 15.92 kB / 0.6989 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1716, allocations: 0 / 0.6989 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.11e-05/0.1717, allocations: 19.98 kB / 0.6989 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1717, allocations: 8 kB / 0.6989 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.1717, allocations: 15.91 kB / 0.6989 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.1718, allocations: 28.12 kB / 0.6989 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1718, allocations: 0 / 0.6989 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.727e-06/0.1718, allocations: 4 kB / 0.6989 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.1719, allocations: 0 / 0.6989 GB, free: 1.25 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.0005438/0.1724, allocations: 343.3 kB / 0.6993 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1724, allocations: 13.11 kB / 0.6993 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.1725, allocations: 38.75 kB / 0.6993 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1727, allocations: 20.84 kB / 0.6993 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.1728, allocations: 160.4 kB / 0.6995 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.1728, allocations: 384 / 0.6995 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.1728, allocations: 4.375 kB / 0.6995 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.173, allocations: 62.16 kB / 0.6995 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1731, allocations: 3.938 kB / 0.6996 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1731, allocations: 0 / 0.6996 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1731, allocations: 4 kB / 0.6996 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1733, allocations: 47.95 kB / 0.6996 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.1737, allocations: 264.8 kB / 0.6999 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1739, allocations: 58.48 kB / 0.6999 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.174, allocations: 24.91 kB / 0.6999 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.174, allocations: 3.984 kB / 0.6999 GB, free: 60 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1741, allocations: 38.56 kB / 0.7 GB, free: 12 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1741, allocations: 0 / 0.7 GB, free: 12 kB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004745/0.1745, allocations: 105.6 kB / 0.7001 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1746, allocations: 55.41 kB / 0.7001 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.1747, allocations: 97.86 kB / 0.7002 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1747, allocations: 33.69 kB / 0.7003 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1748, allocations: 80.14 kB / 0.7003 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1748, allocations: 15.88 kB / 0.7003 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1748, allocations: 13.72 kB / 0.7004 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.175, allocations: 318.9 kB / 0.7007 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1751, allocations: 23.97 kB / 0.7007 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1752, allocations: 27.97 kB / 0.7007 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.1754, allocations: 48.81 kB / 0.7008 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1754, allocations: 8 kB / 0.7008 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002594/0.1757, allocations: 81.59 kB / 0.7008 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1757, allocations: 4 kB / 0.7008 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1757, allocations: 0 / 0.7008 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1757, allocations: 0 / 0.7008 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1758, allocations: 11.98 kB / 0.7009 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1758, allocations: 3.984 kB / 0.7009 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1759, allocations: 19.97 kB / 0.7009 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1759, allocations: 0 / 0.7009 GB, free: 15.02 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 (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 8.007e-05/0.176, allocations: 109.8 kB / 0.701 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.176, allocations: 7.984 kB / 0.701 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.152e-05/0.176, allocations: 7.531 kB / 0.701 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.176, allocations: 0 / 0.701 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.176, allocations: 0 / 0.701 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.176, allocations: 3.938 kB / 0.701 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.1762, allocations: 169.6 kB / 0.7012 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1762, allocations: 0 / 0.7012 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.956e-05/0.1763, allocations: 11.98 kB / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1763, allocations: 0 / 0.7012 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1763, allocations: 4 kB / 0.7012 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1763, allocations: 0 / 0.7012 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1763, allocations: 0 / 0.7012 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.1766, allocations: 187.4 kB / 0.7014 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.1767, allocations: 81.06 kB / 0.7014 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1767, allocations: 4.25 kB / 0.7014 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.182e-05/0.1768, allocations: 7.984 kB / 0.7014 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1768, allocations: 4 kB / 0.7015 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1768, allocations: 0 / 0.7015 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.979e-05/0.1769, allocations: 91.27 kB / 0.7015 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1769, allocations: 32 / 0.7015 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002163/0.1771, allocations: 8 kB / 0.7015 GB, free: 14.23 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 (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.0006591/0.1778, allocations: 0.7085 MB / 0.7022 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.1781, allocations: 51.98 kB / 0.7023 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1781, allocations: 0 / 0.7023 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.1782, allocations: 27.97 kB / 0.7023 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.1785, allocations: 3.938 kB / 0.7023 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.179, allocations: 151.3 kB / 0.7025 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.1793, allocations: 0.6844 MB / 0.7031 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.1794, allocations: 0 / 0.7031 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.1794, allocations: 15.42 kB / 0.7031 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1794, allocations: 0 / 0.7031 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.2073, allocations: 1.456 MB / 0.7046 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/7.973, allocations: 10.38 kB / 0.7046 GB, free: 11.14 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.655710773004103] Failed to read output from testmodel.py, exit status != 0: 8.038615163997747 8.053689478 7.87888892 Calling exit ...