Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001287/0.001287, allocations: 99.5 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.001366/0.001366, 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.444/1.444, 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.8593/0.8593, allocations: 134 MB / 442.8 MB, free: 11.3 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.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",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.001867/0.001867, allocations: 61.81 kB / 0.6134 GB, free: 8.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1742, allocations: 85.85 MB / 0.6973 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.00274/0.177, allocations: 1.487 MB / 0.6987 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1781, allocations: 0.6202 MB / 0.6993 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.1781, allocations: 4 kB / 0.6993 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.1782, allocations: 7.922 kB / 0.6993 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.1782, allocations: 3.938 kB / 0.6993 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.1785, allocations: 59.81 kB / 0.6994 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.1786, allocations: 27.92 kB / 0.6994 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.1787, allocations: 7.984 kB / 0.6994 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1788, allocations: 23.86 kB / 0.6995 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.1788, allocations: 15.94 kB / 0.6995 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1789, allocations: 0 / 0.6995 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.179, allocations: 59.94 kB / 0.6995 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.179, allocations: 7.984 kB / 0.6995 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.179, allocations: 19.88 kB / 0.6996 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1792, allocations: 68.02 kB / 0.6996 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1792, allocations: 0 / 0.6996 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1792, allocations: 0 / 0.6996 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1792, allocations: 0 / 0.6996 GB, free: 0.6367 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.0004595/0.1797, allocations: 355.2 kB / 0.7 GB, free: 248 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1797, allocations: 13.11 kB / 0.7 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.1797, allocations: 30.75 kB / 0.7 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.1799, allocations: 16.88 kB / 0.7 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1801, allocations: 176.3 kB / 0.7002 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1801, allocations: 8.312 kB / 0.7002 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1801, allocations: 384 / 0.7002 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1803, allocations: 45.81 kB / 0.7002 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1803, allocations: 0 / 0.7002 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1803, allocations: 4 kB / 0.7002 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.1803, allocations: 0 / 0.7002 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.877e-05/0.1804, allocations: 23.92 kB / 0.7003 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.1807, allocations: 264.8 kB / 0.7005 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.1808, allocations: 30.5 kB / 0.7005 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.16e-05/0.1809, allocations: 16.92 kB / 0.7006 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008396/0.1817, allocations: 477.4 kB / 0.701 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1817, allocations: 38.56 kB / 0.7011 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 2.926e-06/0.1817, allocations: 3.984 kB / 0.7011 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002691/0.182, allocations: 65.61 kB / 0.7011 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1821, allocations: 51.41 kB / 0.7012 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1822, allocations: 113.8 kB / 0.7013 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1822, allocations: 25.7 kB / 0.7013 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.1822, allocations: 84.14 kB / 0.7014 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1823, allocations: 7.953 kB / 0.7014 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.1823, allocations: 13.7 kB / 0.7014 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1824, allocations: 326.9 kB / 0.7017 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.1825, allocations: 7.984 kB / 0.7017 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.1825, allocations: 12 kB / 0.7017 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.1826, allocations: 24.84 kB / 0.7018 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1826, allocations: 0 / 0.7018 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001359/0.1827, allocations: 57.58 kB / 0.7018 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1828, allocations: 4.094 kB / 0.7018 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1828, allocations: 7.984 kB / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1828, allocations: 0 / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.1828, allocations: 8 kB / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1829, allocations: 0 / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.1829, allocations: 0 / 0.7018 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1829, allocations: 384 / 0.7018 GB, free: 14.05 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.854e-05/0.183, allocations: 121.8 kB / 0.7019 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.183, allocations: 0 / 0.7019 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001876/0.1832, allocations: 69.14 kB / 0.702 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1832, allocations: 3.938 kB / 0.702 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1832, allocations: 0 / 0.702 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1832, allocations: 4 kB / 0.702 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1834, allocations: 165.6 kB / 0.7022 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1834, allocations: 0 / 0.7022 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.1834, allocations: 11.92 kB / 0.7022 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1834, allocations: 0 / 0.7022 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1834, allocations: 0 / 0.7022 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1834, allocations: 0 / 0.7022 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1834, allocations: 4.031 kB / 0.7022 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.1836, allocations: 159.4 kB / 0.7023 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.1837, allocations: 77.11 kB / 0.7024 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1837, allocations: 0 / 0.7024 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.097e-05/0.1838, allocations: 4 kB / 0.7024 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1838, allocations: 0 / 0.7024 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1838, allocations: 8.016 kB / 0.7024 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.1839, allocations: 91.22 kB / 0.7025 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1839, allocations: 0 / 0.7025 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002367/0.1841, allocations: 19.92 kB / 0.7025 GB, free: 13.21 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.0005785/0.1847, allocations: 0.6967 MB / 0.7032 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.1848, allocations: 23.98 kB / 0.7032 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1848, allocations: 3.938 kB / 0.7032 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.617e-05/0.1849, allocations: 15.98 kB / 0.7033 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1851, allocations: 0 / 0.7033 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.1864, allocations: 1.26 MB / 0.7045 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1867, allocations: 0.6884 MB / 0.7052 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.1867, allocations: 0 / 0.7052 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.1867, allocations: 15.72 kB / 0.7052 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1867, allocations: 0 / 0.7052 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.2099, allocations: 1.644 MB / 0.7068 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.096, allocations: 7.547 kB / 0.7068 GB, free: 8.82 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.836096650993568] Failed to read output from testmodel.py, exit status != 0: 8.16349414200522 8.190605821 8.006515915 Calling exit ...