Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.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.001317/0.001317, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001359/0.001359, allocations: 211 kB / 20.13 MB, free: 2.969 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.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.8614/0.8614, allocations: 133.9 MB / 443.5 MB, free: 13.95 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.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="cs",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.001947/0.001947, allocations: 67.34 kB / 0.6141 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1627, allocations: 85.87 MB / 0.698 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.004099/0.1668, allocations: 1.474 MB / 0.6994 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005406/0.1673, allocations: 148.5 kB / 0.6995 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.1674, allocations: 0.9375 kB / 0.6995 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.876e-05/0.1674, allocations: 0 / 0.6995 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.23e-05/0.1675, allocations: 12.67 kB / 0.6996 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1678, allocations: 28.88 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.168, allocations: 41.09 kB / 0.6996 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.1681, allocations: 12.09 kB / 0.6996 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.1682, allocations: 27.69 kB / 0.6997 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.1682, allocations: 25.36 kB / 0.6997 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1683, allocations: 3.312 kB / 0.6997 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1684, allocations: 34.25 kB / 0.6997 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.1684, allocations: 9.094 kB / 0.6997 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.1685, allocations: 16.77 kB / 0.6997 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1687, allocations: 67.78 kB / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1687, allocations: 0 / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1687, allocations: 0 / 0.6998 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1687, allocations: 1.375 kB / 0.6998 GB, free: 12.24 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007611/0.1694, allocations: 371.5 kB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1695, allocations: 11.23 kB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.506e-05/0.1695, allocations: 1.406 kB / 0.7002 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.1695, allocations: 35.94 kB / 0.7002 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.1711, allocations: 214.2 kB / 0.7004 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1713, allocations: 162.7 kB / 0.7006 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1713, allocations: 5.469 kB / 0.7006 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.1713, allocations: 7.062 kB / 0.7006 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009389/0.1723, allocations: 199.6 kB / 0.7008 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1723, allocations: 0 / 0.7008 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.1723, allocations: 1.344 kB / 0.7008 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1723, allocations: 4 kB / 0.7008 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.1737, allocations: 283.9 kB / 0.701 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.175, allocations: 447.8 kB / 0.7015 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.1769, allocations: 284.4 kB / 0.7017 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005919/0.1775, allocations: 100.1 kB / 0.7018 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1775, allocations: 1.062 kB / 0.7018 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.1775, allocations: 35.41 kB / 0.7019 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.1775, allocations: 4 kB / 0.7019 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001486/0.179, allocations: 310.8 kB / 0.7022 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1791, allocations: 59.41 kB / 0.7022 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.1792, allocations: 117.8 kB / 0.7023 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1793, allocations: 25.7 kB / 0.7024 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.1793, allocations: 88.14 kB / 0.7025 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1793, allocations: 11.91 kB / 0.7025 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.1794, allocations: 17.7 kB / 0.7025 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1795, allocations: 322.8 kB / 0.7028 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.18, allocations: 95.88 kB / 0.7029 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.1804, allocations: 99.86 kB / 0.703 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007938/0.1811, allocations: 164.9 kB / 0.7031 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1811, allocations: 0 / 0.7031 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008617/0.182, allocations: 225.4 kB / 0.7033 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.182, allocations: 4 kB / 0.7033 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.182, allocations: 4 kB / 0.7034 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.182, allocations: 0 / 0.7034 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.1823, allocations: 31.94 kB / 0.7034 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1823, allocations: 0 / 0.7034 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.1825, allocations: 35.84 kB / 0.7034 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.1826, allocations: 7.938 kB / 0.7034 GB, free: 9.035 MB / 0.5137 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): 3 * 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.0001246/0.1827, allocations: 122.5 kB / 0.7035 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1827, allocations: 0 / 0.7035 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.1828, allocations: 11.91 kB / 0.7036 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1828, allocations: 0 / 0.7036 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1828, allocations: 0 / 0.7036 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1828, allocations: 4.312 kB / 0.7036 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.1831, allocations: 209.5 kB / 0.7038 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1831, allocations: 0 / 0.7038 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.1833, allocations: 39.94 kB / 0.7038 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1833, allocations: 3.938 kB / 0.7038 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1833, allocations: 3.938 kB / 0.7038 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1833, allocations: 0 / 0.7038 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1833, allocations: 0 / 0.7038 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000891/0.1842, allocations: 315.2 kB / 0.7041 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1843, allocations: 85.09 kB / 0.7042 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1843, allocations: 0 / 0.7042 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.1846, allocations: 31.95 kB / 0.7042 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1846, allocations: 0 / 0.7042 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1846, allocations: 0 / 0.7042 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.338e-05/0.1847, allocations: 103.2 kB / 0.7043 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1847, allocations: 0 / 0.7043 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002511/0.185, allocations: 15.95 kB / 0.7043 GB, free: 8.004 MB / 0.5137 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): 3 * 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.001303/0.1863, allocations: 0.8411 MB / 0.7052 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009311/0.1872, allocations: 195.7 kB / 0.7053 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1872, allocations: 0 / 0.7053 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/0.1876, allocations: 99.81 kB / 0.7054 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.1879, allocations: 4 kB / 0.7054 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.192, allocations: 1.85 MB / 0.7072 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.1925, allocations: 0.6846 MB / 0.7079 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.853e-05/0.1926, allocations: 20 kB / 0.7079 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.1927, allocations: 15.42 kB / 0.7079 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.1927, allocations: 0 / 0.7079 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.2133, allocations: 1.988 MB / 0.7099 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/8.493, allocations: 31.23 kB / 0.7099 GB, free: 2.262 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.286132935027126] Failed to read output from testmodel.py, exit status != 0: 8.88870848697843 8.632114216 8.460246096 Calling exit ...