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.001697/0.001697, 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.002461/0.002461, allocations: 210.6 kB / 22.25 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.777 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.8225/0.8225, allocations: 134 MB / 446.4 MB, free: 9.891 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin",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.001981/0.001981, allocations: 68.75 kB / 0.6185 GB, free: 6.832 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1736, allocations: 85.91 MB / 0.7024 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003001/0.1766, allocations: 1.479 MB / 0.7038 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004627/0.1771, allocations: 144.3 kB / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.1771, allocations: 0 / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.693e-05/0.1772, allocations: 0 / 0.704 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.1772, allocations: 3.938 kB / 0.704 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1775, allocations: 39.89 kB / 0.704 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1776, allocations: 43.91 kB / 0.704 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1777, allocations: 8.281 kB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.033e-05/0.1778, allocations: 19.92 kB / 0.7041 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.1778, allocations: 19.92 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1778, allocations: 4 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1779, allocations: 35.91 kB / 0.7041 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.178, allocations: 7.984 kB / 0.7041 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.178, allocations: 15.94 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1782, allocations: 75.66 kB / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1782, allocations: 0 / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1782, allocations: 0 / 0.7042 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.1782, allocations: 4 kB / 0.7042 GB, free: 15.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005599/0.1787, allocations: 286.1 kB / 0.7045 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1788, allocations: 12.03 kB / 0.7045 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.1788, allocations: 34.73 kB / 0.7045 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.1799, allocations: 212.5 kB / 0.7047 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1801, allocations: 114.5 kB / 0.7049 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1801, allocations: 4.375 kB / 0.7049 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1801, allocations: 4.375 kB / 0.7049 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.1807, allocations: 194 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1808, allocations: 3.938 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.1808, allocations: 4 kB / 0.7051 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.1808, allocations: 0 / 0.7051 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008819/0.1817, allocations: 283.6 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1828, allocations: 388.3 kB / 0.7057 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.184, allocations: 290.1 kB / 0.706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.1843, allocations: 104.8 kB / 0.7061 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1844, allocations: 0 / 0.7061 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.1844, allocations: 42.48 kB / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.1844, allocations: 0 / 0.7061 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.001215/0.1856, allocations: 309.3 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1857, allocations: 55.34 kB / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1858, allocations: 121.8 kB / 0.7066 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.1858, allocations: 25.7 kB / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.1859, allocations: 88.22 kB / 0.7067 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1859, allocations: 19.88 kB / 0.7067 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.186, allocations: 13.72 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1862, allocations: 330.8 kB / 0.707 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.1865, allocations: 87.88 kB / 0.7071 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.1869, allocations: 91.88 kB / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008024/0.1877, allocations: 172.9 kB / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1877, allocations: 0 / 0.7074 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001002/0.1887, allocations: 225.4 kB / 0.7076 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1887, allocations: 4 kB / 0.7076 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1887, allocations: 0 / 0.7076 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.1888, allocations: 4 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.189, allocations: 31.94 kB / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.189, allocations: 0 / 0.7076 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.1892, allocations: 31.89 kB / 0.7077 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1892, allocations: 4 kB / 0.7077 GB, free: 11.4 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 (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.0001548/0.1894, allocations: 125.8 kB / 0.7078 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.1894, allocations: 3.953 kB / 0.7078 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.1894, allocations: 12 kB / 0.7078 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1895, allocations: 0 / 0.7078 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1895, allocations: 0 / 0.7078 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1895, allocations: 0 / 0.7078 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.1897, allocations: 172.6 kB / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1897, allocations: 0 / 0.708 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.19, allocations: 35.95 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.19, allocations: 0 / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.19, allocations: 3.984 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.19, allocations: 3.938 kB / 0.708 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.19, allocations: 0 / 0.708 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008216/0.1908, allocations: 323.1 kB / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.1908, allocations: 0 / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1908, allocations: 0 / 0.7083 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.1911, allocations: 36.33 kB / 0.7083 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.1911, allocations: 3.984 kB / 0.7083 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1911, allocations: 4 kB / 0.7084 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.717e-05/0.1912, allocations: 95.2 kB / 0.7084 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1912, allocations: 0 / 0.7084 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002356/0.1914, allocations: 15.94 kB / 0.7085 GB, free: 10.51 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 (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.001171/0.1926, allocations: 0.845 MB / 0.7093 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007848/0.1934, allocations: 191.8 kB / 0.7095 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1934, allocations: 4 kB / 0.7095 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/0.1938, allocations: 95.86 kB / 0.7096 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.194, allocations: 8 kB / 0.7096 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.1978, allocations: 1.845 MB / 0.7114 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.417e-05/0.1979, allocations: 77.3 kB / 0.7114 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.595e-05/0.198, allocations: 15.98 kB / 0.7115 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.1981, allocations: 23.42 kB / 0.7115 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1981, allocations: 4 kB / 0.7115 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.2346, allocations: 2.52 MB / 0.7139 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.2, allocations: 13.69 kB / 0.714 GB, free: 4.883 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.764293693937361] Failed to read output from testmodel.py, exit status != 0: 11.306171372998506 11.323381839 11.142041853 Calling exit ...