Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.001788/0.001788, allocations: 109 kB / 20.48 MB, free: 1.473 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.002096/0.002096, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.531/1.531, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9664/0.9664, allocations: 150 MB / 464 MB, free: 10.51 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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",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.002016/0.002016, allocations: 66.73 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1801, allocations: 89.18 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002849/0.1829, allocations: 1.483 MB / 0.7306 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.184, allocations: 0.635 MB / 0.7312 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.1841, allocations: 3.938 kB / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.1841, allocations: 0 / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.1841, allocations: 3.938 kB / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1844, allocations: 55.75 kB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.1845, allocations: 35.91 kB / 0.7313 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.1846, allocations: 11.98 kB / 0.7313 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1847, allocations: 19.94 kB / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.1848, allocations: 11.92 kB / 0.7313 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1848, allocations: 4 kB / 0.7313 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.1849, allocations: 63.88 kB / 0.7314 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.1849, allocations: 0 / 0.7314 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.185, allocations: 15.88 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.1851, allocations: 72.02 kB / 0.7315 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1851, allocations: 0 / 0.7315 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.166e-06/0.1851, allocations: 7.984 kB / 0.7315 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.1851, allocations: 0 / 0.7315 GB, free: 14.88 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.0004749/0.1856, allocations: 274.1 kB / 0.7317 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1856, allocations: 8.031 kB / 0.7317 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.697e-05/0.1857, allocations: 4.188 kB / 0.7318 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.785e-05/0.1857, allocations: 30.75 kB / 0.7318 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/0.202, allocations: 2.436 MB / 0.7342 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.2024, allocations: 158.4 kB / 0.7343 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2024, allocations: 384 / 0.7343 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.2025, allocations: 384 / 0.7343 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005758/0.2082, allocations: 1.02 MB / 0.7353 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2082, allocations: 0 / 0.7353 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.2083, allocations: 0 / 0.7353 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2083, allocations: 4 kB / 0.7353 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.2192, allocations: 1.85 MB / 0.7371 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.226, allocations: 1.484 MB / 0.7386 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.2369, allocations: 1.879 MB / 0.7404 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005376/0.2423, allocations: 0.9335 MB / 0.7413 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.2423, allocations: 3.938 kB / 0.7413 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.2423, allocations: 34.56 kB / 0.7414 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.2423, allocations: 0 / 0.7414 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01632/0.2586, allocations: 2.745 MB / 0.744 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.2587, allocations: 51.41 kB / 0.7441 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.2588, allocations: 117.8 kB / 0.7442 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.2589, allocations: 25.7 kB / 0.7442 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.2589, allocations: 80.14 kB / 0.7443 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.11e-05/0.259, allocations: 15.94 kB / 0.7443 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2591, allocations: 25.72 kB / 0.7443 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2592, allocations: 318.8 kB / 0.7446 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005448/0.2647, allocations: 0.9287 MB / 0.7455 GB, free: 276 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005279/0.27, allocations: 0.9326 MB / 0.7465 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009612/0.2796, allocations: 1.683 MB / 0.7481 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2796, allocations: 4 kB / 0.7481 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0103/0.2899, allocations: 1.808 MB / 0.7499 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.2899, allocations: 4 kB / 0.7499 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.2899, allocations: 0 / 0.7499 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.2899, allocations: 3.938 kB / 0.7499 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.2929, allocations: 467.5 kB / 0.7503 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2929, allocations: 0 / 0.7503 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.2957, allocations: 459.4 kB / 0.7508 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.2957, allocations: 15.91 kB / 0.7508 GB, free: 10.9 MB / 0.5762 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 0.0001606/0.2959, allocations: 113.8 kB / 0.7509 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.2959, allocations: 4 kB / 0.7509 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.581e-05/0.296, allocations: 7.625 kB / 0.7509 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.296, allocations: 4 kB / 0.7509 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.296, allocations: 0 / 0.7509 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.296, allocations: 3.984 kB / 0.7509 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.2965, allocations: 337.1 kB / 0.7512 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2965, allocations: 4 kB / 0.7512 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002976/0.2995, allocations: 467.4 kB / 0.7517 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2995, allocations: 4.375 kB / 0.7517 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.54e-05/0.2995, allocations: 7.984 kB / 0.7517 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2995, allocations: 0 / 0.7517 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2995, allocations: 0 / 0.7517 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.3101, allocations: 1.915 MB / 0.7536 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.3101, allocations: 4 kB / 0.7536 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.3102, allocations: 3.984 kB / 0.7536 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/0.3131, allocations: 451.5 kB / 0.754 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.3131, allocations: 3.984 kB / 0.754 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.3132, allocations: 7.984 kB / 0.754 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.3132, allocations: 87.28 kB / 0.7541 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3132, allocations: 0 / 0.7541 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003245/0.3136, allocations: 40 kB / 0.7541 GB, free: 7.395 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.01086/0.3244, allocations: 2.441 MB / 0.7565 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01112/0.3355, allocations: 1.873 MB / 0.7583 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.3355, allocations: 0 / 0.7583 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005325/0.3409, allocations: 0.9366 MB / 0.7593 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3412, allocations: 3.984 kB / 0.7593 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3608/0.7019, allocations: 6.804 MB / 0.7659 GB, free: 36.53 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.7021, allocations: 0.6823 MB / 0.7666 GB, free: 35.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00026/0.7023, allocations: 33.52 kB / 0.7666 GB, free: 35.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.7025, allocations: 24.12 kB / 0.7666 GB, free: 35.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.573e-06/0.7025, allocations: 3.062 kB / 0.7666 GB, free: 35.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.7268, allocations: 3.543 MB / 0.7701 GB, free: 35.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.97, allocations: 9.578 kB / 0.7701 GB, free: 35.38 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.830345717957243] Failed to read output from testmodel.py, exit status != 0: 12.130240700033028 12.145106106 11.957300203 Calling exit ...