Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.001294/0.001294, allocations: 103.2 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.001968/0.001968, 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.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.8714/0.8714, allocations: 133.9 MB / 436.6 MB, free: 13.9 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.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003274/0.003274, allocations: 75.88 kB / 0.6051 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4937, allocations: 84.67 MB / 0.6878 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002438/0.4962, allocations: 1.434 MB / 0.6892 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004698/0.4966, allocations: 207.7 kB / 0.6894 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.4967, allocations: 1.281 kB / 0.6894 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.4967, allocations: 3.938 kB / 0.6894 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.4967, allocations: 1.125 kB / 0.6894 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.497, allocations: 32.72 kB / 0.6894 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.259e-05/0.4971, allocations: 29.47 kB / 0.6895 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.17e-05/0.4972, allocations: 7.047 kB / 0.6895 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.661e-05/0.4972, allocations: 11.5 kB / 0.6895 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.77e-05/0.4973, allocations: 10.36 kB / 0.6895 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.4973, allocations: 6.625 kB / 0.6895 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.4974, allocations: 35.97 kB / 0.6895 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.4974, allocations: 5.25 kB / 0.6895 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.4974, allocations: 10.16 kB / 0.6895 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.4975, allocations: 47.23 kB / 0.6896 GB, free: 328 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4975, allocations: 0 / 0.6896 GB, free: 328 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4975, allocations: 3.938 kB / 0.6896 GB, free: 324 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.4976, allocations: 0 / 0.6896 GB, free: 324 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004285/0.498, allocations: 346 kB / 0.6899 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.498, allocations: 12.94 kB / 0.6899 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.4981, allocations: 32.19 kB / 0.69 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.4981, allocations: 2.312 kB / 0.69 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4982, allocations: 169.6 kB / 0.6901 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4982, allocations: 1.812 kB / 0.6901 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.4983, allocations: 5.75 kB / 0.6901 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.4984, allocations: 41.56 kB / 0.6902 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4985, allocations: 3.938 kB / 0.6902 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.4985, allocations: 7.984 kB / 0.6902 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.4985, allocations: 4.938 kB / 0.6902 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.4986, allocations: 34.44 kB / 0.6902 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.499, allocations: 246.1 kB / 0.6905 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.4991, allocations: 38.47 kB / 0.6905 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.4992, allocations: 27 kB / 0.6905 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.4993, allocations: 83.44 kB / 0.6906 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4993, allocations: 31.78 kB / 0.6906 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4993, allocations: 0 / 0.6906 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.4997, allocations: 85.08 kB / 0.6907 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4997, allocations: 55.53 kB / 0.6908 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.4998, allocations: 100.8 kB / 0.6909 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.4998, allocations: 25.7 kB / 0.6909 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.4999, allocations: 85.03 kB / 0.691 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.4999, allocations: 8.859 kB / 0.691 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.4999, allocations: 20.91 kB / 0.691 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5, allocations: 312.2 kB / 0.6913 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.5001, allocations: 21.27 kB / 0.6913 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-05/0.5002, allocations: 17.47 kB / 0.6913 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.5003, allocations: 39.23 kB / 0.6914 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5003, allocations: 4.188 kB / 0.6914 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000192/0.5005, allocations: 72.64 kB / 0.6914 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5006, allocations: 9.25 kB / 0.6915 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5006, allocations: 5.125 kB / 0.6915 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5006, allocations: 0 / 0.6915 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.5007, allocations: 10.27 kB / 0.6915 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5007, allocations: 1.406 kB / 0.6915 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.5007, allocations: 2.594 kB / 0.6915 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.5007, allocations: 1.375 kB / 0.6915 GB, free: 14.36 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 (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 7.999e-05/0.5008, allocations: 111.2 kB / 0.6916 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.5008, allocations: 9.391 kB / 0.6916 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.501, allocations: 79.59 kB / 0.6917 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.501, allocations: 0 / 0.6917 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5011, allocations: 1.156 kB / 0.6917 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.5011, allocations: 3.984 kB / 0.6917 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.5012, allocations: 161.8 kB / 0.6918 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5012, allocations: 5.141 kB / 0.6918 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.5013, allocations: 6.125 kB / 0.6918 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5013, allocations: 4.031 kB / 0.6918 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.5013, allocations: 1.188 kB / 0.6918 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5013, allocations: 0 / 0.6918 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5013, allocations: 0 / 0.6918 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.5016, allocations: 168 kB / 0.692 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.5016, allocations: 86.33 kB / 0.6921 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.5016, allocations: 4.031 kB / 0.6921 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.5017, allocations: 3.562 kB / 0.6921 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.5017, allocations: 6.297 kB / 0.6921 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.5017, allocations: 0 / 0.6921 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.5018, allocations: 83.69 kB / 0.6922 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5018, allocations: 0 / 0.6922 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002307/0.502, allocations: 9.094 kB / 0.6922 GB, free: 13.61 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 (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.0006289/0.5026, allocations: 0.7103 MB / 0.6929 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.5028, allocations: 37.66 kB / 0.6929 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5028, allocations: 96 / 0.6929 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.5029, allocations: 24.23 kB / 0.6929 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.5032, allocations: 1.156 kB / 0.6929 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.5036, allocations: 141.7 kB / 0.6931 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.504, allocations: 0.6769 MB / 0.6937 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.504, allocations: 1.188 kB / 0.6937 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.504, allocations: 8.656 kB / 0.6937 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.504, allocations: 4.062 kB / 0.6937 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.5264, allocations: 1.448 MB / 0.6952 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.723/8.25, allocations: 10.14 kB / 0.6952 GB, free: 11.21 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.6822664658539] Failed to read output from testmodel.py, exit status != 0: 8.316466075833887 8.335466319 7.83403674 Calling exit ...