Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.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.0008894/0.0008894, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.0008329/0.0008329, allocations: 209.2 kB / 23.02 MB, free: 2.957 MB / 13.93 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 0.9699/0.9699, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.996/1.996, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.88 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8525/0.8539, allocations: 180 MB / 1.352 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002212/0.8561, allocations: 1.475 MB / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0004483/0.8566, allocations: 139.6 kB / 1.354 GB, free: 8 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.8566, allocations: 0 / 1.354 GB, free: 8 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 5.378e-05/0.8567, allocations: 7.875 kB / 1.354 GB, free: 0 / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 8.379e-05/0.8568, allocations: 7.984 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.8571, allocations: 35.91 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.8572, allocations: 35.92 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.8573, allocations: 18.22 kB / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.8574, allocations: 19.92 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.759e-05/0.8574, allocations: 19.92 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.8574, allocations: 4 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.411e-05/0.8575, allocations: 27.98 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.8575, allocations: 11.92 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.8576, allocations: 11.94 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.8578, allocations: 75.72 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8578, allocations: 0 / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.624e-06/0.8578, allocations: 3.938 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.8578, allocations: 0 / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005874/0.8584, allocations: 278.2 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.8584, allocations: 12.92 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.8584, allocations: 38.73 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008391/0.8593, allocations: 208.5 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.8594, allocations: 118.5 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.8594, allocations: 16.23 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.8594, allocations: 4.375 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.8599, allocations: 194 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8599, allocations: 7.938 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.8599, allocations: 0 / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8599, allocations: 0 / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.8605, allocations: 279.5 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/0.8613, allocations: 404 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007621/0.8621, allocations: 294.1 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.8623, allocations: 96.8 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.8624, allocations: 0 / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.8624, allocations: 34.56 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.8624, allocations: 0 / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0008431/0.8632, allocations: 305.3 kB / 1.356 GB, free: 13.35 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.8633, allocations: 59.39 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.8634, allocations: 113.8 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.8634, allocations: 29.7 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.8635, allocations: 99.95 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.8635, allocations: 15.89 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.8635, allocations: 13.72 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8637, allocations: 318.8 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.8639, allocations: 95.86 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.8641, allocations: 99.88 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.8646, allocations: 168.6 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8646, allocations: 0 / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005185/0.8651, allocations: 213.5 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.8651, allocations: 4 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.8651, allocations: 0 / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.8652, allocations: 0 / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.8653, allocations: 39.88 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8654, allocations: 0 / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.8655, allocations: 39.91 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.8655, allocations: 384 / 1.358 GB, free: 12.01 MB / 1.042 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 (3): * Single equations (assignments): 3 * 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.0001026/0.8656, allocations: 118.3 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.8656, allocations: 4 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.8657, allocations: 12 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.8657, allocations: 4.266 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.8657, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8657, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.8659, allocations: 180.7 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8659, allocations: 0 / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.8661, allocations: 35.94 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8661, allocations: 0 / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.8661, allocations: 0 / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8661, allocations: 0 / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8661, allocations: 3.984 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.8666, allocations: 319.2 kB / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-05/0.8667, allocations: 7.953 kB / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.8667, allocations: 4 kB / 1.358 GB, free: 11.26 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.8668, allocations: 27.95 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.8669, allocations: 3.984 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.8669, allocations: 3.938 kB / 1.358 GB, free: 11.23 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.8669, allocations: 103.3 kB / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.8669, allocations: 0 / 1.359 GB, free: 11.12 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002431/0.8672, allocations: 15.94 kB / 1.359 GB, free: 11.11 MB / 1.042 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 (3): * Single equations (assignments): 3 * 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.0008283/0.868, allocations: 0.8333 MB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0005377/0.8685, allocations: 195.7 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8685, allocations: 0 / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.8688, allocations: 99.88 kB / 1.36 GB, free: 9.961 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.869, allocations: 10.17 kB / 1.36 GB, free: 9.953 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.8719, allocations: 1.849 MB / 1.361 GB, free: 8.027 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.872, allocations: 75.33 kB / 1.362 GB, free: 7.934 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.403e-05/0.8721, allocations: 19.98 kB / 1.362 GB, free: 7.914 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.8721, allocations: 15.72 kB / 1.362 GB, free: 7.898 MB / 1.042 GB Notification: Performance of SimCode: time 7.82e-07/0.8721, allocations: 0 / 1.362 GB, free: 7.898 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/0.9727, allocations: 2.536 MB / 1.364 GB, free: 5.492 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/8.382, allocations: 13.08 kB / 1.364 GB, free: 5.484 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothMin.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothMin.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothMin_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.34580725710839]