Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001303/0.001303, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.00186/0.00186, allocations: 221.6 kB / 23.05 MB, free: 5.074 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8675/0.8675, allocations: 134 MB / 447.2 MB, free: 10.24 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.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",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.00291/0.00291, allocations: 62.75 kB / 0.6193 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1883/0.1912, allocations: 85.9 MB / 0.7032 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.00336/0.1946, allocations: 1.813 MB / 0.705 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1961, allocations: 0.7526 MB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.1961, allocations: 3.938 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.1962, allocations: 11.88 kB / 0.7057 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.1963, allocations: 19.8 kB / 0.7057 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006447/0.1969, allocations: 180.4 kB / 0.7059 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1971, allocations: 127.6 kB / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1973, allocations: 49.81 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1974, allocations: 67.77 kB / 0.7062 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1975, allocations: 47.72 kB / 0.7062 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1976, allocations: 8 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1977, allocations: 59.95 kB / 0.7063 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.1977, allocations: 27.91 kB / 0.7063 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.553e-05/0.1978, allocations: 55.72 kB / 0.7063 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1981, allocations: 155.4 kB / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1981, allocations: 0 / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1981, allocations: 4 kB / 0.7065 GB, free: 14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1981, allocations: 3.938 kB / 0.7065 GB, free: 13.99 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006604/0.1987, allocations: 369.7 kB / 0.7069 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1988, allocations: 8.031 kB / 0.7069 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.1988, allocations: 4.188 kB / 0.7069 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1988, allocations: 38.75 kB / 0.7069 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.1998, allocations: 140.6 kB / 0.707 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.2001, allocations: 154.8 kB / 0.7072 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.2003, allocations: 114.9 kB / 0.7073 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.2003, allocations: 12 kB / 0.7073 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.2009, allocations: 165.5 kB / 0.7075 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2009, allocations: 0 / 0.7075 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2009, allocations: 4 kB / 0.7075 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2009, allocations: 4 kB / 0.7075 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.2015, allocations: 163.8 kB / 0.7076 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2027, allocations: 468.5 kB / 0.7081 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2037, allocations: 206.3 kB / 0.7083 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.2041, allocations: 84.91 kB / 0.7084 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2041, allocations: 3.938 kB / 0.7084 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2041, allocations: 30.56 kB / 0.7084 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.2041, allocations: 0 / 0.7084 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001114/0.2052, allocations: 265.3 kB / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.2053, allocations: 51.41 kB / 0.7087 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2054, allocations: 149.8 kB / 0.7088 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.2054, allocations: 29.7 kB / 0.7089 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.2055, allocations: 108.2 kB / 0.709 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.2055, allocations: 19.84 kB / 0.709 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.2056, allocations: 33.64 kB / 0.709 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2058, allocations: 322.8 kB / 0.7093 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.2061, allocations: 71.92 kB / 0.7094 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.2064, allocations: 98.48 kB / 0.7095 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.207, allocations: 162.4 kB / 0.7096 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.207, allocations: 3.938 kB / 0.7096 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007065/0.2077, allocations: 205.4 kB / 0.7098 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2078, allocations: 8 kB / 0.7098 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2078, allocations: 0 / 0.7098 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2078, allocations: 0 / 0.7098 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.208, allocations: 39.95 kB / 0.7099 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2081, allocations: 0 / 0.7099 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.2083, allocations: 28.2 kB / 0.7099 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2083, allocations: 4 kB / 0.7099 GB, free: 10.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001278/0.2084, allocations: 125.7 kB / 0.71 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.2085, allocations: 15.95 kB / 0.71 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007427/0.2092, allocations: 202.2 kB / 0.7102 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2092, allocations: 0 / 0.7102 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2092, allocations: 0 / 0.7102 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2092, allocations: 3.984 kB / 0.7102 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.2095, allocations: 209.3 kB / 0.7104 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2095, allocations: 4 kB / 0.7104 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.2097, allocations: 31.89 kB / 0.7105 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.2097, allocations: 4 kB / 0.7105 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2097, allocations: 11.98 kB / 0.7105 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2097, allocations: 0 / 0.7105 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2097, allocations: 0 / 0.7105 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.2105, allocations: 287.3 kB / 0.7108 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.2105, allocations: 7.953 kB / 0.7108 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2105, allocations: 0 / 0.7108 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.2108, allocations: 31.95 kB / 0.7108 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.2109, allocations: 7.984 kB / 0.7108 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2109, allocations: 7.984 kB / 0.7108 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.038e-05/0.211, allocations: 105.7 kB / 0.7109 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.211, allocations: 3.938 kB / 0.7109 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003623/0.2113, allocations: 35.89 kB / 0.711 GB, free: 9.113 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 (6): * Single equations (assignments): 6 * 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.001099/0.2124, allocations: 0.8099 MB / 0.7118 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006888/0.2131, allocations: 164 kB / 0.7119 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2131, allocations: 0 / 0.7119 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.2134, allocations: 84.16 kB / 0.712 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.2137, allocations: 22.55 kB / 0.712 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.217, allocations: 1.844 MB / 0.7138 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2174, allocations: 0.7002 MB / 0.7145 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.347e-05/0.2175, allocations: 12 kB / 0.7145 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.2176, allocations: 39.41 kB / 0.7145 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.2176, allocations: 0 / 0.7145 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.2412, allocations: 2.988 MB / 0.7175 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.35, allocations: 8.484 kB / 0.7175 GB, free: 2.465 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.054939099936746] Failed to read output from testmodel.py, exit status != 0: 11.511247378075495 11.537394985 11.334241595 Calling exit ...