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.001359/0.001359, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001678/0.001678, allocations: 218 kB / 22.26 MB, free: 5.082 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.016 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.91/0.91, allocations: 134 MB / 446.4 MB, free: 10.25 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",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.002208/0.002208, allocations: 69.91 kB / 0.6186 GB, free: 7.227 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1877, allocations: 85.91 MB / 0.7025 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003451/0.1911, allocations: 1.804 MB / 0.7042 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1927, allocations: 0.7488 MB / 0.7049 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.465e-05/0.1928, allocations: 4 kB / 0.705 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.92e-05/0.1928, allocations: 7.875 kB / 0.705 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.1929, allocations: 31.66 kB / 0.705 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.1936, allocations: 179.1 kB / 0.7052 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1938, allocations: 127.7 kB / 0.7053 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1939, allocations: 45.83 kB / 0.7053 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.1941, allocations: 63.77 kB / 0.7054 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1942, allocations: 55.7 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.1943, allocations: 12 kB / 0.7055 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1944, allocations: 55.95 kB / 0.7055 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.1944, allocations: 27.91 kB / 0.7055 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.1945, allocations: 55.72 kB / 0.7056 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1948, allocations: 155.4 kB / 0.7057 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1948, allocations: 0 / 0.7057 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1948, allocations: 4 kB / 0.7057 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.1948, allocations: 3.938 kB / 0.7057 GB, free: 14.01 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.0006321/0.1954, allocations: 369.7 kB / 0.7061 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.1955, allocations: 8.031 kB / 0.7061 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.1955, allocations: 42.69 kB / 0.7061 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.1966, allocations: 136.6 kB / 0.7063 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.1969, allocations: 150.9 kB / 0.7064 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.1971, allocations: 115.1 kB / 0.7065 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1971, allocations: 12 kB / 0.7065 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.1976, allocations: 161.5 kB / 0.7067 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1976, allocations: 0 / 0.7067 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.1976, allocations: 4 kB / 0.7067 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1976, allocations: 7.938 kB / 0.7067 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005904/0.1982, allocations: 159.8 kB / 0.7069 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.1993, allocations: 464.6 kB / 0.7073 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.2004, allocations: 214.3 kB / 0.7075 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.2007, allocations: 80.91 kB / 0.7076 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.2007, allocations: 0 / 0.7076 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2007, allocations: 34.5 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.2007, allocations: 0 / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0009621/0.2017, allocations: 269.3 kB / 0.7079 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.2017, allocations: 51.41 kB / 0.7079 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2019, allocations: 151.2 kB / 0.7081 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.2019, allocations: 25.7 kB / 0.7081 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.202, allocations: 108.2 kB / 0.7082 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.202, allocations: 15.86 kB / 0.7082 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.2021, allocations: 29.7 kB / 0.7082 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2022, allocations: 322.8 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.2025, allocations: 75.92 kB / 0.7086 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/0.2028, allocations: 94.48 kB / 0.7087 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.2034, allocations: 166.3 kB / 0.7089 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2034, allocations: 0 / 0.7089 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006562/0.204, allocations: 209.4 kB / 0.7091 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2041, allocations: 10.19 kB / 0.7091 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2041, allocations: 0 / 0.7091 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2041, allocations: 320 / 0.7091 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.2044, allocations: 39.95 kB / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2044, allocations: 0 / 0.7091 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.2046, allocations: 39.83 kB / 0.7091 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.2046, allocations: 4.156 kB / 0.7092 GB, free: 10.28 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.0001157/0.2047, allocations: 121.8 kB / 0.7093 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.678e-05/0.2048, allocations: 7.953 kB / 0.7093 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006902/0.2055, allocations: 202.2 kB / 0.7095 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2055, allocations: 0 / 0.7095 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2055, allocations: 0 / 0.7095 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2055, allocations: 3.984 kB / 0.7095 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.2058, allocations: 213.3 kB / 0.7097 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2058, allocations: 0 / 0.7097 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.206, allocations: 35.89 kB / 0.7097 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.206, allocations: 8 kB / 0.7097 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.206, allocations: 7.984 kB / 0.7097 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.206, allocations: 0 / 0.7097 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.206, allocations: 3.984 kB / 0.7097 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/0.2067, allocations: 287.3 kB / 0.71 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.2067, allocations: 7.953 kB / 0.71 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.2068, allocations: 0 / 0.71 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.2071, allocations: 31.95 kB / 0.71 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.2071, allocations: 7.984 kB / 0.71 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.2071, allocations: 7.984 kB / 0.7101 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.765e-05/0.2072, allocations: 105.7 kB / 0.7102 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2072, allocations: 4 kB / 0.7102 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002647/0.2075, allocations: 35.83 kB / 0.7102 GB, free: 9.133 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.001059/0.2085, allocations: 0.8099 MB / 0.711 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006746/0.2092, allocations: 168 kB / 0.7111 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2092, allocations: 4.125 kB / 0.7111 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.2095, allocations: 79.91 kB / 0.7112 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2098, allocations: 4 kB / 0.7112 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.2131, allocations: 1.844 MB / 0.713 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.2134, allocations: 0.7002 MB / 0.7137 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.791e-05/0.2135, allocations: 19.98 kB / 0.7137 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.2136, allocations: 39.41 kB / 0.7138 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of SimCode: time 4.11e-07/0.2136, allocations: 0 / 0.7138 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03234/0.246, allocations: 2.959 MB / 0.7167 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.1, allocations: 2.234 kB / 0.7167 GB, free: 2.508 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.836777519900352] Failed to read output from testmodel.py, exit status != 0: 11.2076606140472 11.233444981 11.034194228 Calling exit ...