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.001705/0.001705, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002064/0.002064, allocations: 212.6 kB / 22.24 MB, free: 5.262 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.801 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.8696/0.8696, allocations: 134 MB / 446.4 MB, free: 9.918 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.002033/0.002033, allocations: 62.19 kB / 0.6185 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1749, allocations: 85.91 MB / 0.7024 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002762/0.1777, allocations: 1.484 MB / 0.7038 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1788, allocations: 0.5735 MB / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.1788, allocations: 4 kB / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1789, allocations: 7.875 kB / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.1789, allocations: 3.938 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1792, allocations: 63.81 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1793, allocations: 31.86 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.1794, allocations: 0 / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1796, allocations: 23.91 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.292e-05/0.1796, allocations: 15.92 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1796, allocations: 4 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.1798, allocations: 55.95 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.1798, allocations: 7.984 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.338e-05/0.1798, allocations: 11.94 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.18, allocations: 72.02 kB / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.18, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.18, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.18, allocations: 0 / 0.7047 GB, free: 14.67 MB / 0.5294 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.0004667/0.1804, allocations: 282 kB / 0.7049 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1805, allocations: 8.031 kB / 0.7049 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.1805, allocations: 34.69 kB / 0.705 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1807, allocations: 20.88 kB / 0.705 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1809, allocations: 118.5 kB / 0.7051 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1809, allocations: 4.375 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1809, allocations: 384 / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1811, allocations: 45.81 kB / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1811, allocations: 0 / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.1811, allocations: 3.984 kB / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1811, allocations: 0 / 0.7052 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.1812, allocations: 19.98 kB / 0.7052 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.1815, allocations: 235.9 kB / 0.7054 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.1816, allocations: 26.56 kB / 0.7054 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.1816, allocations: 16.92 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/0.1823, allocations: 91.86 kB / 0.7055 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1823, allocations: 38.56 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1823, allocations: 0 / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002616/0.1826, allocations: 65.61 kB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1826, allocations: 51.41 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.1827, allocations: 113.8 kB / 0.7058 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1827, allocations: 25.7 kB / 0.7058 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.1828, allocations: 88.14 kB / 0.7059 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1828, allocations: 7.938 kB / 0.7059 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.1828, allocations: 17.7 kB / 0.7059 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.183, allocations: 322.9 kB / 0.7062 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.554e-05/0.183, allocations: 11.98 kB / 0.7062 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.1831, allocations: 8 kB / 0.7063 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.886e-05/0.1831, allocations: 24.84 kB / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1832, allocations: 0 / 0.7063 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001325/0.1833, allocations: 65.52 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1833, allocations: 4 kB / 0.7063 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1833, allocations: 4.078 kB / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1833, allocations: 7.984 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.1834, allocations: 4 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1834, allocations: 0 / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.1834, allocations: 4 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1834, allocations: 0 / 0.7064 GB, free: 12.74 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 9.682e-05/0.1835, allocations: 121.8 kB / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1835, allocations: 0 / 0.7065 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.1837, allocations: 65.23 kB / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1837, allocations: 4.031 kB / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1837, allocations: 8 kB / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1837, allocations: 0 / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1839, allocations: 128.7 kB / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1839, allocations: 0 / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.1839, allocations: 8 kB / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1839, allocations: 0 / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1839, allocations: 0 / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1839, allocations: 0 / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1839, allocations: 0 / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.1841, allocations: 163.4 kB / 0.7068 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.1841, allocations: 4.312 kB / 0.7068 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1841, allocations: 0 / 0.7068 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.1842, allocations: 4 kB / 0.7068 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.1842, allocations: 3.984 kB / 0.7069 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.1842, allocations: 3.938 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.144e-05/0.1843, allocations: 91.27 kB / 0.7069 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1843, allocations: 0 / 0.7069 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002382/0.1845, allocations: 15.94 kB / 0.707 GB, free: 12.06 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.0005442/0.1851, allocations: 0.7007 MB / 0.7076 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.1852, allocations: 23.92 kB / 0.7077 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1852, allocations: 3.938 kB / 0.7077 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.1853, allocations: 15.98 kB / 0.7077 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1855, allocations: 0 / 0.7077 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1869, allocations: 1.261 MB / 0.7089 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.187, allocations: 71.2 kB / 0.709 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.187, allocations: 0 / 0.709 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.1871, allocations: 11.42 kB / 0.709 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.1871, allocations: 4 kB / 0.709 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.2169, allocations: 2.16 MB / 0.7111 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.12, allocations: 5.703 kB / 0.7111 GB, free: 7.816 MB / 0.5294 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.815630005206913] Failed to read output from testmodel.py, exit status != 0: 11.228309187106788 11.256187013 11.072189193 Calling exit ...