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.001255/0.001255, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.001394/0.001394, allocations: 214.4 kB / 20.13 MB, free: 3.051 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.9699/0.9699, allocations: 133.9 MB / 443.5 MB, free: 14.16 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.002057/0.002057, allocations: 67.19 kB / 0.6141 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1918, allocations: 85.86 MB / 0.698 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003998/0.1958, allocations: 1.794 MB / 0.6997 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1974, allocations: 0.7332 MB / 0.7004 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1975, allocations: 5.375 kB / 0.7004 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.231e-05/0.1976, allocations: 15.8 kB / 0.7004 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.1977, allocations: 18.55 kB / 0.7005 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000726/0.1984, allocations: 182 kB / 0.7006 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.1987, allocations: 122 kB / 0.7008 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.1989, allocations: 36.67 kB / 0.7008 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1992, allocations: 73.61 kB / 0.7009 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1993, allocations: 52.69 kB / 0.7009 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.1993, allocations: 10.25 kB / 0.7009 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1995, allocations: 49.97 kB / 0.701 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.1995, allocations: 29.69 kB / 0.701 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.1996, allocations: 57.25 kB / 0.701 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.1999, allocations: 156.2 kB / 0.7012 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1999, allocations: 7.938 kB / 0.7012 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1999, allocations: 0 / 0.7012 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1999, allocations: 0 / 0.7012 GB, free: 11.04 MB / 0.5137 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.0008041/0.2007, allocations: 448.9 kB / 0.7016 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2008, allocations: 11.23 kB / 0.7016 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.437e-05/0.2008, allocations: 2.062 kB / 0.7016 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.84e-05/0.2009, allocations: 45.7 kB / 0.7017 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.2019, allocations: 128.1 kB / 0.7018 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.2023, allocations: 206.7 kB / 0.702 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.2024, allocations: 69.86 kB / 0.7021 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.2024, allocations: 13.53 kB / 0.7021 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006005/0.203, allocations: 172.3 kB / 0.7022 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.203, allocations: 0 / 0.7022 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.203, allocations: 5.312 kB / 0.7023 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2031, allocations: 2.438 kB / 0.7023 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006551/0.2037, allocations: 159.8 kB / 0.7024 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.2049, allocations: 0.4898 MB / 0.7029 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.206, allocations: 213.3 kB / 0.7031 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.2064, allocations: 77.8 kB / 0.7032 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.2064, allocations: 5.406 kB / 0.7032 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.2064, allocations: 39.84 kB / 0.7032 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.2064, allocations: 0 / 0.7032 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.00112/0.2076, allocations: 263.9 kB / 0.7035 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.2076, allocations: 51.41 kB / 0.7035 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2078, allocations: 144.7 kB / 0.7036 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2078, allocations: 29.7 kB / 0.7037 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.2079, allocations: 112.2 kB / 0.7038 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.2079, allocations: 19.83 kB / 0.7038 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.208, allocations: 25.7 kB / 0.7038 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2081, allocations: 318.8 kB / 0.7041 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.2084, allocations: 79.91 kB / 0.7042 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.2088, allocations: 94.44 kB / 0.7043 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.2094, allocations: 158.4 kB / 0.7044 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2094, allocations: 4.188 kB / 0.7045 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007341/0.2102, allocations: 213.4 kB / 0.7047 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2102, allocations: 4 kB / 0.7047 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2102, allocations: 0 / 0.7047 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.2102, allocations: 4 kB / 0.7047 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.2106, allocations: 39.88 kB / 0.7047 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2106, allocations: 4 kB / 0.7047 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.2108, allocations: 27.97 kB / 0.7047 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2108, allocations: 160 / 0.7047 GB, free: 7.758 MB / 0.5137 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.000127/0.2109, allocations: 126.4 kB / 0.7049 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.211, allocations: 7.953 kB / 0.7049 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008036/0.2118, allocations: 206.2 kB / 0.7051 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2118, allocations: 0 / 0.7051 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2118, allocations: 0 / 0.7051 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2118, allocations: 0 / 0.7051 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.2121, allocations: 258.1 kB / 0.7053 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2121, allocations: 0 / 0.7053 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.2124, allocations: 31.95 kB / 0.7053 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2124, allocations: 4 kB / 0.7053 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2124, allocations: 0 / 0.7053 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2124, allocations: 0 / 0.7053 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.2124, allocations: 3.984 kB / 0.7053 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.2132, allocations: 291.3 kB / 0.7056 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.2133, allocations: 89 kB / 0.7057 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.2133, allocations: 3.938 kB / 0.7057 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003295/0.2137, allocations: 31.89 kB / 0.7057 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.2137, allocations: 8.172 kB / 0.7057 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.2138, allocations: 15.98 kB / 0.7058 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001008/0.2139, allocations: 105.5 kB / 0.7059 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2139, allocations: 4 kB / 0.7059 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003096/0.2142, allocations: 23.95 kB / 0.7059 GB, free: 6.465 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 (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.00139/0.2156, allocations: 0.8216 MB / 0.7067 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007691/0.2163, allocations: 163.8 kB / 0.7068 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.2164, allocations: 4.125 kB / 0.7069 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.2167, allocations: 75.86 kB / 0.7069 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.217, allocations: 8 kB / 0.7069 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.2208, allocations: 1.847 MB / 0.7087 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.2211, allocations: 0.7002 MB / 0.7094 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.2212, allocations: 23.97 kB / 0.7094 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.2214, allocations: 31.42 kB / 0.7095 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.2214, allocations: 0 / 0.7095 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.243, allocations: 2.852 MB / 0.7123 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.409, allocations: 18.69 kB / 0.7123 GB, free: 15.9 MB / 0.5294 GB " [Timeout remaining time 651] (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: 12.419200995005667] Failed to read output from testmodel.py, exit status != 0: 8.870288509002421 8.548777496 8.345587116 Calling exit ...