Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001663/0.001663, allocations: 112.8 kB / 17.83 MB, free: 5.336 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.001536/0.001536, allocations: 201.6 kB / 20.8 MB, free: 2.391 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.552/1.552, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.052/1.052, allocations: 150 MB / 460.2 MB, free: 5.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002882/0.002882, allocations: 74.77 kB / 0.6368 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2036, allocations: 89.13 MB / 0.7238 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.003183/0.2068, allocations: 1.483 MB / 0.7253 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004576/0.2073, allocations: 143.5 kB / 0.7254 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.2073, allocations: 0 / 0.7254 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.2074, allocations: 7.922 kB / 0.7254 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.2074, allocations: 3.938 kB / 0.7254 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.2077, allocations: 31.95 kB / 0.7255 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2078, allocations: 47.8 kB / 0.7255 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.2079, allocations: 20.27 kB / 0.7255 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.562e-05/0.208, allocations: 15.92 kB / 0.7256 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.208, allocations: 23.91 kB / 0.7256 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.208, allocations: 4 kB / 0.7256 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.925e-05/0.2081, allocations: 31.97 kB / 0.7256 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.2082, allocations: 11.94 kB / 0.7256 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.2082, allocations: 15.94 kB / 0.7256 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2084, allocations: 67.72 kB / 0.7257 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2084, allocations: 7.938 kB / 0.7257 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2084, allocations: 0 / 0.7257 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.2084, allocations: 0 / 0.7257 GB, free: 2.141 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005837/0.209, allocations: 369.1 kB / 0.7261 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.209, allocations: 12.03 kB / 0.7261 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.749e-05/0.209, allocations: 2.078 kB / 0.7261 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.2091, allocations: 30.75 kB / 0.7261 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.2103, allocations: 216.5 kB / 0.7263 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.2105, allocations: 168.3 kB / 0.7265 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.2105, allocations: 4.375 kB / 0.7265 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.2105, allocations: 384 / 0.7265 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.2112, allocations: 201.8 kB / 0.7267 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2112, allocations: 0 / 0.7267 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.2112, allocations: 0 / 0.7267 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.2112, allocations: 0 / 0.7267 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/0.2122, allocations: 283.6 kB / 0.7269 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.2132, allocations: 441.3 kB / 0.7274 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.2145, allocations: 282.2 kB / 0.7276 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.2149, allocations: 108.7 kB / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.2149, allocations: 3.984 kB / 0.7277 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.2149, allocations: 34.56 kB / 0.7278 GB, free: 15.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.2149, allocations: 0 / 0.7278 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001302/0.2162, allocations: 313.2 kB / 0.7281 GB, free: 15.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2163, allocations: 51.41 kB / 0.7281 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2164, allocations: 121.8 kB / 0.7282 GB, free: 15.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2164, allocations: 25.7 kB / 0.7283 GB, free: 15.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.2165, allocations: 88.14 kB / 0.7283 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.2165, allocations: 3.953 kB / 0.7283 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.2166, allocations: 25.7 kB / 0.7284 GB, free: 15.19 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2168, allocations: 318.8 kB / 0.7287 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.2172, allocations: 91.88 kB / 0.7288 GB, free: 14.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.2176, allocations: 95.88 kB / 0.7289 GB, free: 14.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.2183, allocations: 173 kB / 0.729 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2183, allocations: 3.938 kB / 0.729 GB, free: 14.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008353/0.2191, allocations: 217.4 kB / 0.7292 GB, free: 14.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2191, allocations: 4 kB / 0.7292 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2192, allocations: 3.938 kB / 0.7292 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2192, allocations: 0 / 0.7292 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.2195, allocations: 39.94 kB / 0.7293 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.2195, allocations: 4 kB / 0.7293 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.2197, allocations: 31.89 kB / 0.7293 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2197, allocations: 3.938 kB / 0.7293 GB, free: 14.21 MB / 0.545 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.000104/0.2198, allocations: 113.8 kB / 0.7294 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.2198, allocations: 11.94 kB / 0.7294 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.2199, allocations: 7.906 kB / 0.7294 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2199, allocations: 0 / 0.7294 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2199, allocations: 8 kB / 0.7294 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2199, allocations: 0 / 0.7294 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.2202, allocations: 209.5 kB / 0.7296 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2202, allocations: 0 / 0.7296 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.2204, allocations: 39.88 kB / 0.7297 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2204, allocations: 3.938 kB / 0.7297 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2204, allocations: 4 kB / 0.7297 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2204, allocations: 0 / 0.7297 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2204, allocations: 0 / 0.7297 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008825/0.2213, allocations: 315.2 kB / 0.73 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.2214, allocations: 77.11 kB / 0.7301 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.2214, allocations: 4 kB / 0.7301 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.2216, allocations: 31.94 kB / 0.7301 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.2217, allocations: 4 kB / 0.7301 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2217, allocations: 0 / 0.7301 GB, free: 13.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.355e-05/0.2217, allocations: 99.2 kB / 0.7302 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2217, allocations: 4 kB / 0.7302 GB, free: 13.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002427/0.222, allocations: 12 kB / 0.7302 GB, free: 13.18 MB / 0.545 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.001287/0.2233, allocations: 0.8375 MB / 0.731 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008487/0.2241, allocations: 199.8 kB / 0.7312 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2241, allocations: 0 / 0.7312 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.2245, allocations: 112.1 kB / 0.7313 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2248, allocations: 5.766 kB / 0.7313 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.2287, allocations: 1.845 MB / 0.7331 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.2291, allocations: 0.6885 MB / 0.7338 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.072e-05/0.2292, allocations: 15.98 kB / 0.7338 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.2292, allocations: 23.42 kB / 0.7338 GB, free: 9.332 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.2292, allocations: 0 / 0.7338 GB, free: 9.332 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.2494, allocations: 1.997 MB / 0.7358 GB, free: 7.434 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.527, allocations: 5.531 kB / 0.7358 GB, free: 7.43 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.641325514006894] Failed to read output from testmodel.py, exit status != 0: 8.652986483997665 8.675985796 8.463297618 Calling exit ...