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.001373/0.001373, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001504/0.001504, allocations: 215.2 kB / 23.78 MB, free: 4.523 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.59/1.59, allocations: 230.6 MB / 257.5 MB, free: 7.805 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 0.9773/0.9773, allocations: 150 MB / 464 MB, free: 10.21 MB / 366.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.002067/0.002067, allocations: 70.33 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2081, allocations: 89.17 MB / 0.729 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.004188/0.2123, allocations: 1.479 MB / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006086/0.2129, allocations: 131.6 kB / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.213, allocations: 0 / 0.7306 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.365e-05/0.213, allocations: 3.938 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.872e-05/0.2131, allocations: 15.91 kB / 0.7306 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.2134, allocations: 35.91 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.2135, allocations: 39.86 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.2137, allocations: 15.98 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.2137, allocations: 19.92 kB / 0.7307 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.2138, allocations: 23.92 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2138, allocations: 4 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.214, allocations: 31.97 kB / 0.7308 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.214, allocations: 8 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.677e-05/0.214, allocations: 19.86 kB / 0.7308 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2142, allocations: 60.08 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2142, allocations: 0 / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2142, allocations: 4 kB / 0.7309 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2143, allocations: 0 / 0.7309 GB, free: 14.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006351/0.2149, allocations: 290.1 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2149, allocations: 12.03 kB / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.186e-05/0.215, allocations: 192 / 0.7312 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/0.215, allocations: 30.75 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.2171, allocations: 216.5 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.2173, allocations: 114.4 kB / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2173, allocations: 384 / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.2173, allocations: 8.375 kB / 0.7315 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.2185, allocations: 193.7 kB / 0.7317 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2185, allocations: 0 / 0.7317 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.2185, allocations: 11.94 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2185, allocations: 7.984 kB / 0.7317 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.2202, allocations: 275.6 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.2219, allocations: 396.5 kB / 0.7324 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.224, allocations: 282.2 kB / 0.7326 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/0.2248, allocations: 100.8 kB / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.2248, allocations: 4 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.2249, allocations: 30.56 kB / 0.7328 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 3.006e-06/0.2249, allocations: 3.938 kB / 0.7328 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.002358/0.2272, allocations: 309.3 kB / 0.7331 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.2273, allocations: 55.41 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.2275, allocations: 117.8 kB / 0.7332 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2275, allocations: 25.7 kB / 0.7333 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.2276, allocations: 88.14 kB / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.2277, allocations: 7.953 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2278, allocations: 25.7 kB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002439/0.228, allocations: 314.8 kB / 0.7337 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.2287, allocations: 95.88 kB / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.2295, allocations: 96.05 kB / 0.7339 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.2308, allocations: 180.6 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2308, allocations: 0 / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001503/0.2323, allocations: 217.4 kB / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.2323, allocations: 8 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.2323, allocations: 0 / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.2324, allocations: 0 / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.2328, allocations: 35.94 kB / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2328, allocations: 0 / 0.7343 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.2332, allocations: 39.89 kB / 0.7343 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.2333, allocations: 3.938 kB / 0.7343 GB, free: 11.19 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 (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.0001705/0.2334, allocations: 119.8 kB / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.2335, allocations: 15.88 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-05/0.2336, allocations: 8 kB / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2336, allocations: 384 / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.2336, allocations: 4 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2336, allocations: 0 / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.234, allocations: 168.7 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.234, allocations: 3.938 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.2344, allocations: 31.94 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2344, allocations: 0 / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2344, allocations: 4 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2344, allocations: 0 / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2344, allocations: 0 / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.236, allocations: 315.2 kB / 0.735 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.236, allocations: 7.984 kB / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2361, allocations: 0 / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.2365, allocations: 27.95 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.2365, allocations: 4 kB / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.2365, allocations: 7.922 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001211/0.2367, allocations: 95.22 kB / 0.7351 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2367, allocations: 4 kB / 0.7351 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004458/0.2371, allocations: 12 kB / 0.7351 GB, free: 10.3 MB / 0.5606 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.001839/0.2389, allocations: 0.8372 MB / 0.7359 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.2401, allocations: 203.7 kB / 0.7361 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2401, allocations: 0 / 0.7361 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006345/0.2408, allocations: 99.88 kB / 0.7362 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.2412, allocations: 6.953 kB / 0.7362 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00539/0.2466, allocations: 1.846 MB / 0.738 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.499e-05/0.2467, allocations: 75.23 kB / 0.7381 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001337/0.2468, allocations: 19.98 kB / 0.7381 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.2469, allocations: 19.42 kB / 0.7381 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of SimCode: time 9.02e-07/0.2469, allocations: 3.938 kB / 0.7381 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.2716, allocations: 2.188 MB / 0.7403 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.58, allocations: 5 kB / 0.7403 GB, free: 5.035 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.57538705097977] Failed to read output from testmodel.py, exit status != 0: 11.755296763032675 11.783706448 11.56573882 Calling exit ...