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.001419/0.001419, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001714/0.001714, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.793 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.8412/0.8412, allocations: 134 MB / 446.4 MB, free: 9.91 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.002087/0.002087, allocations: 73.14 kB / 0.6185 GB, free: 6.875 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1968, allocations: 85.91 MB / 0.7024 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003221/0.2, allocations: 1.756 MB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.2014, allocations: 0.7021 MB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.2015, allocations: 0 / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.2015, allocations: 11.86 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.2016, allocations: 19.75 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000642/0.2022, allocations: 186.1 kB / 0.705 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.2025, allocations: 123.7 kB / 0.7051 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.2026, allocations: 45.83 kB / 0.7052 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.2028, allocations: 59.78 kB / 0.7052 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.2029, allocations: 51.69 kB / 0.7053 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.2029, allocations: 19.94 kB / 0.7053 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.203, allocations: 51.97 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.2031, allocations: 31.89 kB / 0.7054 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.2031, allocations: 43.8 kB / 0.7054 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2034, allocations: 151.4 kB / 0.7055 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2034, allocations: 4 kB / 0.7056 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2034, allocations: 0 / 0.7056 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2034, allocations: 0 / 0.7056 GB, free: 13.79 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.0006827/0.2041, allocations: 369.7 kB / 0.7059 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2041, allocations: 12.03 kB / 0.7059 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/0.2042, allocations: 42.69 kB / 0.706 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.2052, allocations: 132.6 kB / 0.7061 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.2055, allocations: 148.6 kB / 0.7062 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.2057, allocations: 127.1 kB / 0.7063 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.2057, allocations: 4 kB / 0.7064 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.2063, allocations: 217 kB / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2063, allocations: 0 / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2063, allocations: 3.938 kB / 0.7066 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2063, allocations: 7.938 kB / 0.7066 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.2069, allocations: 159.8 kB / 0.7067 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2081, allocations: 436.7 kB / 0.7071 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.2091, allocations: 206.3 kB / 0.7073 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.2094, allocations: 80.91 kB / 0.7074 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.2095, allocations: 0 / 0.7074 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2095, allocations: 46.5 kB / 0.7075 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.2095, allocations: 0 / 0.7075 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.001084/0.2106, allocations: 265.3 kB / 0.7077 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.2106, allocations: 55.41 kB / 0.7078 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2108, allocations: 139.4 kB / 0.7079 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.2108, allocations: 29.7 kB / 0.7079 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.2109, allocations: 108.2 kB / 0.708 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.2109, allocations: 19.86 kB / 0.708 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.211, allocations: 21.7 kB / 0.7081 GB, free: 11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2111, allocations: 326.8 kB / 0.7084 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.2115, allocations: 75.92 kB / 0.7085 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.2118, allocations: 94.48 kB / 0.7085 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006038/0.2124, allocations: 162.4 kB / 0.7087 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2124, allocations: 0 / 0.7087 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006919/0.2131, allocations: 209.3 kB / 0.7089 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2131, allocations: 10.34 kB / 0.7089 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/0.2131, allocations: 0 / 0.7089 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2131, allocations: 0 / 0.7089 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.2134, allocations: 39.89 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2134, allocations: 0 / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2136, allocations: 39.86 kB / 0.709 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2136, allocations: 4 kB / 0.709 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.0001294/0.2138, allocations: 117.8 kB / 0.7091 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.2138, allocations: 15.89 kB / 0.7091 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007431/0.2145, allocations: 202.2 kB / 0.7093 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2145, allocations: 0 / 0.7093 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2146, allocations: 0 / 0.7093 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2146, allocations: 0 / 0.7093 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.2148, allocations: 201.7 kB / 0.7095 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2148, allocations: 0 / 0.7095 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.2151, allocations: 43.88 kB / 0.7095 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2151, allocations: 0 / 0.7095 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2151, allocations: 4 kB / 0.7095 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.2151, allocations: 3.984 kB / 0.7095 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2151, allocations: 0 / 0.7095 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.2158, allocations: 279.3 kB / 0.7098 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.2159, allocations: 11.94 kB / 0.7098 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.2159, allocations: 8 kB / 0.7098 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.2162, allocations: 31.95 kB / 0.7099 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2162, allocations: 0 / 0.7099 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.2163, allocations: 7.984 kB / 0.7099 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001005/0.2164, allocations: 108.8 kB / 0.71 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2164, allocations: 0 / 0.71 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002707/0.2166, allocations: 31.89 kB / 0.71 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.001077/0.2177, allocations: 0.8177 MB / 0.7108 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006715/0.2184, allocations: 163.8 kB / 0.711 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2184, allocations: 0 / 0.711 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.2187, allocations: 79.91 kB / 0.711 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.0003028/0.219, allocations: 8 kB / 0.711 GB, free: 7.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.2224, allocations: 1.844 MB / 0.7128 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.961e-05/0.2225, allocations: 87.81 kB / 0.7129 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.2226, allocations: 12 kB / 0.7129 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.2227, allocations: 39.36 kB / 0.713 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of SimCode: time 8.51e-07/0.2227, allocations: 0 / 0.713 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.2536, allocations: 3.458 MB / 0.7164 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.28, allocations: 5.094 kB / 0.7164 GB, free: 2.414 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.976096185855567] Failed to read output from testmodel.py, exit status != 0: 11.385213467758149 11.402048057 11.195339759 Calling exit ...