Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004078/0.004078, allocations: 281.4 kB / 303 MB, free: 9.523 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.196/1.196, allocations: 180.9 MB / 0.5261 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 99.64 kB / 0.7248 GB, free: 40 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1916, allocations: 94.16 MB / 0.8167 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.003278/0.1949, allocations: 1.46 MB / 0.8182 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1959, allocations: 0.5753 MB / 0.8187 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.196, allocations: 4 kB / 0.8187 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.196, allocations: 7.922 kB / 0.8187 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.38e-05/0.196, allocations: 7.922 kB / 0.8187 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1963, allocations: 51.83 kB / 0.8188 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.1964, allocations: 27.86 kB / 0.8188 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.1965, allocations: 8 kB / 0.8188 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.356e-05/0.1966, allocations: 15.92 kB / 0.8188 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.1967, allocations: 11.92 kB / 0.8188 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1967, allocations: 4 kB / 0.8188 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.1968, allocations: 55.95 kB / 0.8189 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.1968, allocations: 15.92 kB / 0.8189 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.1968, allocations: 7.938 kB / 0.8189 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.197, allocations: 64.08 kB / 0.819 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.197, allocations: 0 / 0.819 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.197, allocations: 0 / 0.819 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.197, allocations: 0 / 0.819 GB, free: 3.109 MB / 0.5606 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.0005018/0.1975, allocations: 355.2 kB / 0.8193 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1976, allocations: 8.031 kB / 0.8193 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.32e-05/0.1976, allocations: 30.75 kB / 0.8194 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.567e-05/0.1976, allocations: 8.938 kB / 0.8194 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1978, allocations: 168.3 kB / 0.8195 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.1978, allocations: 384 / 0.8195 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1978, allocations: 4.375 kB / 0.8195 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1979, allocations: 53.73 kB / 0.8196 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1979, allocations: 0 / 0.8196 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-06/0.1979, allocations: 0 / 0.8196 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1979, allocations: 0 / 0.8196 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.713e-05/0.198, allocations: 19.98 kB / 0.8196 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.1984, allocations: 256.9 kB / 0.8198 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.537e-05/0.1985, allocations: 34.52 kB / 0.8199 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.1985, allocations: 16.91 kB / 0.8199 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008473/0.1994, allocations: 489.3 kB / 0.8204 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1994, allocations: 30.56 kB / 0.8204 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1994, allocations: 3.938 kB / 0.8204 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002579/0.1997, allocations: 65.64 kB / 0.8205 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1997, allocations: 51.41 kB / 0.8205 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.1998, allocations: 110 kB / 0.8206 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1998, allocations: 25.7 kB / 0.8206 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.1999, allocations: 92.12 kB / 0.8207 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1999, allocations: 3.953 kB / 0.8207 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1999, allocations: 13.72 kB / 0.8207 GB, free: 1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2001, allocations: 318.8 kB / 0.821 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.287e-05/0.2001, allocations: 11.92 kB / 0.8211 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/0.2001, allocations: 19.98 kB / 0.8211 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.495e-05/0.2002, allocations: 20.86 kB / 0.8211 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2002, allocations: 0 / 0.8211 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/0.2003, allocations: 53.67 kB / 0.8211 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.2004, allocations: 8 kB / 0.8212 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2004, allocations: 0 / 0.8212 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.2004, allocations: 4 kB / 0.8212 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.2005, allocations: 4.094 kB / 0.8212 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2005, allocations: 4 kB / 0.8212 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.2005, allocations: 3.984 kB / 0.8212 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2005, allocations: 4 kB / 0.8212 GB, free: 0.5391 MB / 0.5606 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 8.321e-05/0.2006, allocations: 117.7 kB / 0.8213 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.2006, allocations: 7.953 kB / 0.8213 GB, free: 416 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.2008, allocations: 61.2 kB / 0.8214 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.2008, allocations: 0 / 0.8214 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2008, allocations: 4.031 kB / 0.8214 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2008, allocations: 0 / 0.8214 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.201, allocations: 165.6 kB / 0.8215 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.201, allocations: 0 / 0.8215 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.201, allocations: 4 kB / 0.8215 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.201, allocations: 0 / 0.8215 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2011, allocations: 0 / 0.8215 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2011, allocations: 3.938 kB / 0.8215 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2011, allocations: 0 / 0.8215 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.2013, allocations: 163.4 kB / 0.8217 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.2013, allocations: 81.06 kB / 0.8218 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.2014, allocations: 0 / 0.8218 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.2014, allocations: 7.984 kB / 0.8218 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.2015, allocations: 0 / 0.8218 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.2015, allocations: 0 / 0.8218 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.2015, allocations: 91.58 kB / 0.8218 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2015, allocations: 0 / 0.8218 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002373/0.2018, allocations: 27.89 kB / 0.8219 GB, free: 15.72 MB / 0.5762 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.0006/0.2024, allocations: 0.6967 MB / 0.8226 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001481/0.2025, allocations: 20.02 kB / 0.8226 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2025, allocations: 4.062 kB / 0.8226 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.2026, allocations: 15.98 kB / 0.8226 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2028, allocations: 6.188 kB / 0.8226 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.2033, allocations: 164.2 kB / 0.8228 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.2036, allocations: 0.6768 MB / 0.8234 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.191e-05/0.2036, allocations: 0 / 0.8234 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.2037, allocations: 15.5 kB / 0.8234 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2037, allocations: 0 / 0.8234 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.2269, allocations: 1.633 MB / 0.825 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.074, allocations: 4.062 kB / 0.825 GB, free: 12.49 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.192197140771896] Failed to read output from testmodel.py, exit status != 0: 8.140002999920398 8.153965659 7.954172079 Calling exit ...