Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.001649/0.001649, allocations: 104.9 kB / 16.45 MB, free: 6.453 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.001876/0.001876, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.8559/0.8559, allocations: 134 MB / 442.8 MB, free: 11.26 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.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",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.001931/0.001931, allocations: 75.02 kB / 0.6134 GB, free: 8.711 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1772, allocations: 85.86 MB / 0.6973 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002658/0.1798, allocations: 1.452 MB / 0.6987 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000755/0.1806, allocations: 380 kB / 0.6991 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.1806, allocations: 4 kB / 0.6991 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.1806, allocations: 3.938 kB / 0.6991 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.1807, allocations: 3.984 kB / 0.6991 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.1811, allocations: 121.7 kB / 0.6992 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.1812, allocations: 19.92 kB / 0.6992 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.1813, allocations: 20.2 kB / 0.6992 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.1813, allocations: 4 kB / 0.6992 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.1813, allocations: 15.92 kB / 0.6992 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1814, allocations: 0 / 0.6992 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.1818, allocations: 275.7 kB / 0.6995 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.1818, allocations: 11.98 kB / 0.6995 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.1818, allocations: 7.938 kB / 0.6995 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.182, allocations: 111.6 kB / 0.6996 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.182, allocations: 0 / 0.6996 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.182, allocations: 0 / 0.6996 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.182, allocations: 0 / 0.6996 GB, free: 0.5117 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.0005206/0.1825, allocations: 371.1 kB / 0.7 GB, free: 100 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1826, allocations: 13.11 kB / 0.7 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.1826, allocations: 30.75 kB / 0.7 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.1827, allocations: 0.9375 kB / 0.7 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1828, allocations: 168.4 kB / 0.7002 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1828, allocations: 384 / 0.7002 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1828, allocations: 384 / 0.7002 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.183, allocations: 62.11 kB / 0.7002 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.183, allocations: 3.938 kB / 0.7002 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.183, allocations: 0 / 0.7002 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.183, allocations: 4 kB / 0.7003 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.1832, allocations: 27.97 kB / 0.7003 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1836, allocations: 256.9 kB / 0.7005 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1837, allocations: 42.5 kB / 0.7006 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.65e-05/0.1838, allocations: 28.83 kB / 0.7006 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007103/0.1845, allocations: 457.5 kB / 0.701 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1846, allocations: 34.56 kB / 0.7011 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1846, allocations: 0 / 0.7011 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003825/0.1849, allocations: 81.64 kB / 0.7011 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.185, allocations: 51.41 kB / 0.7012 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.322e-05/0.1851, allocations: 110 kB / 0.7013 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1851, allocations: 25.7 kB / 0.7013 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.1851, allocations: 88.14 kB / 0.7014 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1852, allocations: 3.953 kB / 0.7014 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1852, allocations: 17.72 kB / 0.7014 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1853, allocations: 318.8 kB / 0.7017 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.908e-05/0.1854, allocations: 15.92 kB / 0.7017 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.1855, allocations: 23.98 kB / 0.7018 GB, free: 14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.1857, allocations: 40.81 kB / 0.7018 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1857, allocations: 7.875 kB / 0.7018 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002152/0.1859, allocations: 61.67 kB / 0.7019 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1859, allocations: 4.094 kB / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1859, allocations: 4 kB / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1859, allocations: 0 / 0.7019 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.186, allocations: 15.98 kB / 0.7019 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.186, allocations: 0 / 0.7019 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.225e-05/0.1861, allocations: 15.88 kB / 0.7019 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1861, allocations: 0 / 0.7019 GB, free: 13.85 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 0.0001008/0.1862, allocations: 113.7 kB / 0.702 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1862, allocations: 4 kB / 0.702 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.1865, allocations: 77.19 kB / 0.7021 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1865, allocations: 3.938 kB / 0.7021 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1865, allocations: 3.984 kB / 0.7021 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1865, allocations: 0 / 0.7021 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1867, allocations: 157.6 kB / 0.7023 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1867, allocations: 0 / 0.7023 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.1867, allocations: 11.98 kB / 0.7023 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1867, allocations: 3.984 kB / 0.7023 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1867, allocations: 4.031 kB / 0.7023 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1867, allocations: 0 / 0.7023 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1867, allocations: 0 / 0.7023 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.187, allocations: 171.4 kB / 0.7024 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1871, allocations: 81.31 kB / 0.7025 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1871, allocations: 0 / 0.7025 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.1872, allocations: 16.02 kB / 0.7025 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1872, allocations: 4 kB / 0.7025 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1873, allocations: 4 kB / 0.7025 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.1873, allocations: 83.27 kB / 0.7026 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1873, allocations: 0 / 0.7026 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002304/0.1875, allocations: 12 kB / 0.7026 GB, free: 13 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.0006701/0.1882, allocations: 0.7162 MB / 0.7033 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1884, allocations: 35.95 kB / 0.7034 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1884, allocations: 4 kB / 0.7034 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.965e-05/0.1885, allocations: 16.08 kB / 0.7034 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1888, allocations: 9.875 kB / 0.7034 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.1893, allocations: 143.2 kB / 0.7035 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1896, allocations: 0.6844 MB / 0.7042 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.1896, allocations: 0 / 0.7042 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.1896, allocations: 15.44 kB / 0.7042 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1896, allocations: 0 / 0.7042 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.2148, allocations: 1.588 MB / 0.7058 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/7.9, allocations: 5.031 kB / 0.7058 GB, free: 9.793 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower_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_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.677808127002208] Failed to read output from testmodel.py, exit status != 0: 7.9694928679964505 7.997123014 7.810437662 Calling exit ...