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.001314/0.001314, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001477/0.001477, allocations: 220.5 kB / 23.03 MB, free: 4.945 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8858/0.8858, allocations: 134 MB / 447.2 MB, free: 9.973 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.001924/0.001924, allocations: 65.8 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1892, allocations: 85.91 MB / 0.7031 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003823/0.193, allocations: 1.753 MB / 0.7049 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1945, allocations: 0.6943 MB / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.1945, allocations: 0 / 0.7055 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.1946, allocations: 19.73 kB / 0.7056 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.1947, allocations: 15.81 kB / 0.7056 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006533/0.1953, allocations: 186.5 kB / 0.7057 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.1955, allocations: 131.6 kB / 0.7059 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1957, allocations: 45.83 kB / 0.7059 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1959, allocations: 59.83 kB / 0.706 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.196, allocations: 59.7 kB / 0.706 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.196, allocations: 8 kB / 0.706 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1962, allocations: 51.97 kB / 0.7061 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.1962, allocations: 35.89 kB / 0.7061 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.1963, allocations: 47.78 kB / 0.7062 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.1966, allocations: 155.4 kB / 0.7063 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.065e-05/0.1966, allocations: 0 / 0.7063 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.787e-06/0.1966, allocations: 0 / 0.7063 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.1967, allocations: 0 / 0.7063 GB, free: 13.8 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.0008865/0.1975, allocations: 369.7 kB / 0.7067 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.1976, allocations: 8.031 kB / 0.7067 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.938e-05/0.1976, allocations: 12.12 kB / 0.7067 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.093e-05/0.1977, allocations: 46.73 kB / 0.7067 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.1988, allocations: 124.7 kB / 0.7069 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.1991, allocations: 160.3 kB / 0.707 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.1993, allocations: 122.9 kB / 0.7071 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1993, allocations: 8 kB / 0.7071 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.1999, allocations: 212.9 kB / 0.7073 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1999, allocations: 0 / 0.7073 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.2, allocations: 8 kB / 0.7073 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2, allocations: 0 / 0.7073 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.2007, allocations: 155.8 kB / 0.7075 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.202, allocations: 432.6 kB / 0.7079 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.203, allocations: 214.3 kB / 0.7081 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.2033, allocations: 84.91 kB / 0.7082 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.2034, allocations: 3.938 kB / 0.7082 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.2034, allocations: 38.55 kB / 0.7082 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.2034, allocations: 0 / 0.7082 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001032/0.2044, allocations: 253.4 kB / 0.7085 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.2045, allocations: 55.41 kB / 0.7085 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.2046, allocations: 143.2 kB / 0.7087 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.2047, allocations: 25.7 kB / 0.7087 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.2048, allocations: 116.2 kB / 0.7088 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.2048, allocations: 19.86 kB / 0.7088 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.2049, allocations: 21.7 kB / 0.7088 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.205, allocations: 322.8 kB / 0.7091 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/0.2053, allocations: 79.84 kB / 0.7092 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.2056, allocations: 94.48 kB / 0.7093 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.2062, allocations: 162.7 kB / 0.7095 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2062, allocations: 11.88 kB / 0.7095 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006927/0.2069, allocations: 209.4 kB / 0.7097 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.2069, allocations: 11.94 kB / 0.7097 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.207, allocations: 160 / 0.7097 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.207, allocations: 0 / 0.7097 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.2072, allocations: 35.95 kB / 0.7097 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.2073, allocations: 3.984 kB / 0.7097 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2075, allocations: 27.89 kB / 0.7097 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2075, allocations: 8 kB / 0.7098 GB, free: 10.03 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.0001326/0.2076, allocations: 121.8 kB / 0.7099 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.2077, allocations: 7.953 kB / 0.7099 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.2084, allocations: 210.2 kB / 0.7101 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2084, allocations: 0 / 0.7101 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2084, allocations: 0 / 0.7101 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2084, allocations: 3.984 kB / 0.7101 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.2087, allocations: 185.3 kB / 0.7103 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2087, allocations: 0 / 0.7103 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.2089, allocations: 31.95 kB / 0.7103 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.2089, allocations: 4 kB / 0.7103 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.2089, allocations: 7.984 kB / 0.7103 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2089, allocations: 4 kB / 0.7103 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.209, allocations: 0 / 0.7103 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007026/0.2097, allocations: 291.2 kB / 0.7106 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.2097, allocations: 7.953 kB / 0.7106 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.2097, allocations: 192 / 0.7106 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.21, allocations: 39.95 kB / 0.7106 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.21, allocations: 7.984 kB / 0.7106 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.2101, allocations: 7.984 kB / 0.7106 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.2101, allocations: 105 kB / 0.7107 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2101, allocations: 0 / 0.7107 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002655/0.2104, allocations: 31.89 kB / 0.7108 GB, free: 8.91 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.001057/0.2115, allocations: 0.8138 MB / 0.7116 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006424/0.2121, allocations: 163.8 kB / 0.7117 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2121, allocations: 0 / 0.7117 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.2124, allocations: 83.84 kB / 0.7118 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.2127, allocations: 10.12 kB / 0.7118 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.216, allocations: 1.852 MB / 0.7136 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.2162, allocations: 87.81 kB / 0.7137 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.86e-05/0.2163, allocations: 16 kB / 0.7137 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2164, allocations: 35.41 kB / 0.7138 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.2164, allocations: 0 / 0.7138 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.2401, allocations: 3.095 MB / 0.7168 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.55, allocations: 12.42 kB / 0.7168 GB, free: 2.773 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.175066377036273] Failed to read output from testmodel.py, exit status != 0: 11.703217437956482 11.72041245 11.520615843 Calling exit ...