Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001932/0.001932, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001605/0.001605, allocations: 216.3 kB / 22.26 MB, free: 5.117 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.48/1.48, 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.911/0.911, 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.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",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.003517/0.003517, allocations: 74.84 kB / 0.6186 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2108, allocations: 85.9 MB / 0.7024 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003484/0.2142, allocations: 1.487 MB / 0.7039 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2157, allocations: 0.6358 MB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.2158, allocations: 0 / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.2158, allocations: 3.938 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.674e-05/0.2159, allocations: 7.922 kB / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.2162, allocations: 63.81 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.2163, allocations: 27.86 kB / 0.7046 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.2164, allocations: 11.98 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.2166, allocations: 19.88 kB / 0.7046 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.2167, allocations: 15.92 kB / 0.7047 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2167, allocations: 7.984 kB / 0.7047 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.2168, allocations: 55.95 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.2169, allocations: 0 / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.2169, allocations: 19.88 kB / 0.7047 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.2171, allocations: 72 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2171, allocations: 4 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2171, allocations: 0 / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.2171, allocations: 4 kB / 0.7048 GB, free: 14.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004622/0.2175, allocations: 274.1 kB / 0.7051 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.2176, allocations: 12.03 kB / 0.7051 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.2176, allocations: 34.73 kB / 0.7051 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.2178, allocations: 12.89 kB / 0.7051 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.2181, allocations: 122.4 kB / 0.7053 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2181, allocations: 4.375 kB / 0.7053 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2181, allocations: 4.375 kB / 0.7053 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.2182, allocations: 49.81 kB / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2182, allocations: 0 / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2182, allocations: 3.984 kB / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2182, allocations: 0 / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.2183, allocations: 23.92 kB / 0.7053 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.2187, allocations: 224 kB / 0.7055 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.673e-05/0.2188, allocations: 38.5 kB / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.2188, allocations: 12.92 kB / 0.7056 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.2195, allocations: 95.86 kB / 0.7057 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.2195, allocations: 34.56 kB / 0.7057 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.2195, allocations: 0 / 0.7057 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002522/0.2197, allocations: 61.66 kB / 0.7058 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2198, allocations: 59.34 kB / 0.7058 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.2199, allocations: 113.8 kB / 0.7059 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2199, allocations: 25.7 kB / 0.706 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.22, allocations: 88.14 kB / 0.7061 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.22, allocations: 4.078 kB / 0.7061 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.22, allocations: 21.7 kB / 0.7061 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2202, allocations: 318.8 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.2202, allocations: 7.984 kB / 0.7064 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.2202, allocations: 12 kB / 0.7064 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.741e-05/0.2203, allocations: 28.84 kB / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2203, allocations: 0 / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001333/0.2205, allocations: 61.64 kB / 0.7065 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.2205, allocations: 14.17 kB / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2205, allocations: 0 / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2205, allocations: 0 / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.2206, allocations: 4 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2206, allocations: 0 / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.2206, allocations: 4 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.2206, allocations: 0 / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.418e-05/0.2207, allocations: 122.5 kB / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.2207, allocations: 4 kB / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.2209, allocations: 57.3 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2209, allocations: 0 / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.2209, allocations: 0 / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2209, allocations: 3.938 kB / 0.7067 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.2211, allocations: 136.7 kB / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2211, allocations: 0 / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.2211, allocations: 11.92 kB / 0.7068 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2211, allocations: 4.031 kB / 0.7068 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2211, allocations: 4 kB / 0.7068 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2211, allocations: 0 / 0.7068 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2211, allocations: 0 / 0.7068 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.2213, allocations: 155.4 kB / 0.707 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.2213, allocations: 4 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.2213, allocations: 0 / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.631e-05/0.2214, allocations: 4.031 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.2214, allocations: 4 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.2214, allocations: 3.984 kB / 0.707 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.2215, allocations: 95.53 kB / 0.7071 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.2215, allocations: 0 / 0.7071 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002475/0.2217, allocations: 19.92 kB / 0.7071 GB, free: 12.31 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 (2): * Single equations (assignments): 2 * 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.0005432/0.2223, allocations: 0.6967 MB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.2224, allocations: 23.98 kB / 0.7078 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2224, allocations: 0 / 0.7078 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.2225, allocations: 19.92 kB / 0.7078 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.2227, allocations: 0 / 0.7078 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2241, allocations: 1.266 MB / 0.7091 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.2244, allocations: 0.6805 MB / 0.7097 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.2244, allocations: 8 kB / 0.7097 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.2245, allocations: 7.438 kB / 0.7097 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.2245, allocations: 0 / 0.7097 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.2533, allocations: 1.749 MB / 0.7115 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.07, allocations: 2.578 kB / 0.7115 GB, free: 7.855 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.803617309080437] Failed to read output from testmodel.py, exit status != 0: 11.171778779942542 11.187387704 10.96705031 Calling exit ...