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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 105 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.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.8913/0.8913, allocations: 133.9 MB / 436.6 MB, free: 13.75 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 59.91 kB / 0.6051 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4052, allocations: 84.67 MB / 0.6878 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002232/0.4075, allocations: 1.463 MB / 0.6892 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000351/0.4078, allocations: 147.9 kB / 0.6894 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.4078, allocations: 1.031 kB / 0.6894 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.4079, allocations: 3.938 kB / 0.6894 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.4079, allocations: 5.156 kB / 0.6894 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.4081, allocations: 32.75 kB / 0.6894 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.89e-05/0.4082, allocations: 44.81 kB / 0.6895 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4084, allocations: 20.73 kB / 0.6895 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.4084, allocations: 18.8 kB / 0.6895 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.4085, allocations: 20.89 kB / 0.6895 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4085, allocations: 4.312 kB / 0.6895 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.4086, allocations: 29.44 kB / 0.6895 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.4086, allocations: 10 kB / 0.6896 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.4086, allocations: 20.02 kB / 0.6896 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.4087, allocations: 63.48 kB / 0.6896 GB, free: 416 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4087, allocations: 0 / 0.6896 GB, free: 416 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4087, allocations: 0 / 0.6896 GB, free: 416 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4087, allocations: 7.938 kB / 0.6896 GB, free: 408 kB / 0.4981 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.0003864/0.4091, allocations: 367.4 kB / 0.69 GB, free: 8 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4092, allocations: 10.56 kB / 0.69 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.361e-05/0.4092, allocations: 31.84 kB / 0.69 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.4103, allocations: 213.9 kB / 0.6902 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.4105, allocations: 170.4 kB / 0.6904 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.4105, allocations: 2.344 kB / 0.6904 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.4105, allocations: 2.562 kB / 0.6904 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.4111, allocations: 199.8 kB / 0.6906 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4111, allocations: 3.938 kB / 0.6906 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.4111, allocations: 1.312 kB / 0.6906 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4111, allocations: 5.312 kB / 0.6906 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007933/0.4119, allocations: 275.2 kB / 0.6909 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.4128, allocations: 452.4 kB / 0.6913 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.4138, allocations: 283.3 kB / 0.6916 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.4142, allocations: 104.5 kB / 0.6917 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.4142, allocations: 1.031 kB / 0.6917 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4142, allocations: 31.62 kB / 0.6917 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.4142, allocations: 7.938 kB / 0.6917 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.001089/0.4153, allocations: 314.7 kB / 0.692 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4153, allocations: 55.41 kB / 0.6921 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.925e-05/0.4154, allocations: 117.1 kB / 0.6922 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4155, allocations: 27.98 kB / 0.6922 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.4155, allocations: 89.33 kB / 0.6923 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.4155, allocations: 9.5 kB / 0.6923 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.4156, allocations: 18.09 kB / 0.6923 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4157, allocations: 320.2 kB / 0.6926 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.4161, allocations: 99.12 kB / 0.6927 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.4164, allocations: 91.16 kB / 0.6928 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.417, allocations: 176.2 kB / 0.693 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.417, allocations: 0 / 0.693 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006873/0.4177, allocations: 220 kB / 0.6932 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4177, allocations: 8.406 kB / 0.6932 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4177, allocations: 0 / 0.6932 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.4178, allocations: 0 / 0.6932 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.418, allocations: 38.75 kB / 0.6932 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.418, allocations: 5 kB / 0.6932 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.4182, allocations: 26.95 kB / 0.6933 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4182, allocations: 0.9688 kB / 0.6933 GB, free: 13.56 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.0001148/0.4183, allocations: 126.3 kB / 0.6934 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.4184, allocations: 6.141 kB / 0.6934 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.4184, allocations: 6.281 kB / 0.6934 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4184, allocations: 1.125 kB / 0.6934 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4184, allocations: 0 / 0.6934 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4184, allocations: 3.938 kB / 0.6934 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.4187, allocations: 213.1 kB / 0.6936 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4187, allocations: 1.031 kB / 0.6936 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.4189, allocations: 38.28 kB / 0.6936 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4189, allocations: 0 / 0.6936 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.4189, allocations: 5.062 kB / 0.6936 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4189, allocations: 1.031 kB / 0.6936 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4189, allocations: 3.938 kB / 0.6936 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.4197, allocations: 315.1 kB / 0.6939 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.4197, allocations: 82.12 kB / 0.694 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.4198, allocations: 1.094 kB / 0.694 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.42, allocations: 26.11 kB / 0.694 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.42, allocations: 2.594 kB / 0.694 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.42, allocations: 9.047 kB / 0.6941 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.035e-05/0.4201, allocations: 101 kB / 0.6942 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4201, allocations: 0 / 0.6942 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002391/0.4203, allocations: 16.84 kB / 0.6942 GB, free: 12.7 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.001082/0.4214, allocations: 0.8399 MB / 0.695 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007334/0.4221, allocations: 198.7 kB / 0.6952 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4222, allocations: 3.938 kB / 0.6952 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.4225, allocations: 97.38 kB / 0.6953 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.4227, allocations: 3.031 kB / 0.6953 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.4262, allocations: 1.849 MB / 0.6971 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.4265, allocations: 0.6918 MB / 0.6978 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.847e-05/0.4266, allocations: 21.77 kB / 0.6978 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.4267, allocations: 12.88 kB / 0.6978 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.4267, allocations: 0 / 0.6978 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.4503, allocations: 1.945 MB / 0.6997 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.263, allocations: 7.469 kB / 0.6997 GB, free: 8.488 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.738344244193286] Failed to read output from testmodel.py, exit status != 0: 8.334030905272812 8.354578586 7.942745543 Calling exit ...