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.001061/0.001061, allocations: 80.52 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001219/0.001219, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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.8593/0.8593, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.846/1.846, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.635e-06/2.635e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.51e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002827/0.002852, allocations: 1.479 MB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004664/0.003318, allocations: 147.4 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.003366, allocations: 0 / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.003412, allocations: 0 / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.901e-05/0.003491, allocations: 11.86 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.003772, allocations: 39.91 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.003886, allocations: 35.86 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.004026, allocations: 19.97 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.004093, allocations: 19.98 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.004142, allocations: 19.92 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.004162, allocations: 4 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.004258, allocations: 27.97 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.004287, allocations: 11.98 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.004316, allocations: 15.92 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.004457, allocations: 63.84 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.00446, allocations: 4 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.683e-06/0.004461, allocations: 0 / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004466, allocations: 4 kB / 1.003 GB, free: 11.59 MB / 0.9636 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.0003371/0.004803, allocations: 290.1 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.004841, allocations: 9.344 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.004876, allocations: 34.75 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006226/0.005498, allocations: 216.5 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.083e-05/0.005579, allocations: 113.7 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.005591, allocations: 4.375 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.005604, allocations: 4.375 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.005933, allocations: 190 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.00594, allocations: 192 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.005952, allocations: 4.375 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005958, allocations: 8.125 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.006404, allocations: 279.6 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.00698, allocations: 400.6 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.007565, allocations: 286.1 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.007759, allocations: 105.6 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.007781, allocations: 4 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.007799, allocations: 34.56 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.0078, allocations: 0 / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0006456/0.008446, allocations: 309.3 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.008478, allocations: 55.41 kB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.008553, allocations: 113.8 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.008567, allocations: 25.7 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.008609, allocations: 96.08 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.008628, allocations: 11.95 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.008661, allocations: 17.72 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/0.008738, allocations: 318.8 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.00892, allocations: 91.88 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.009097, allocations: 95.88 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.009433, allocations: 176.5 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.009437, allocations: 7.922 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003815/0.009818, allocations: 213.8 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.009835, allocations: 11.98 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00984, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.009852, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.009986, allocations: 31.95 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.00999, allocations: 0 / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.01008, allocations: 31.95 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.01009, allocations: 7.969 kB / 1.006 GB, free: 7.875 MB / 0.9636 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 7.317e-05/0.01016, allocations: 117.8 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.01018, allocations: 7.953 kB / 1.006 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.01023, allocations: 11.98 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.01023, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01023, allocations: 4 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01024, allocations: 0 / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.01038, allocations: 173 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01038, allocations: 3.938 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.01048, allocations: 31.94 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01049, allocations: 0 / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01049, allocations: 7.938 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.0105, allocations: 0 / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0105, allocations: 0 / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.01092, allocations: 311.2 kB / 1.007 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.01093, allocations: 7.953 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01095, allocations: 0 / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.01105, allocations: 27.94 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.01109, allocations: 8 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.01109, allocations: 0 / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.01113, allocations: 99.27 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01113, allocations: 3.938 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001611/0.0113, allocations: 12 kB / 1.007 GB, free: 6.988 MB / 0.9636 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.0005994/0.0119, allocations: 0.8372 MB / 1.008 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.0123, allocations: 191.8 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.0123, allocations: 0 / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.01249, allocations: 115.7 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.01267, allocations: 2.344 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.01473, allocations: 1.854 MB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.637e-05/0.01478, allocations: 71.33 kB / 1.01 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.23e-05/0.01483, allocations: 16 kB / 1.01 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.01489, allocations: 24.48 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/0.01489, allocations: 0 / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09743/0.1123, allocations: 2.68 MB / 1.012 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.421/7.533, allocations: 4 kB / 1.012 GB, free: 1.211 MB / 0.9636 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: 12.01933563221246]