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.001297/0.001297, 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.001419/0.001419, allocations: 213.4 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.012/1.012, allocations: 150 MB / 463.9 MB, free: 10.22 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.002076/0.002076, allocations: 62.09 kB / 0.642 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1741, allocations: 89.17 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.0029/0.177, allocations: 1.465 MB / 0.7305 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1782, allocations: 0.5767 MB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.388e-05/0.1783, allocations: 4 kB / 0.731 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.1783, allocations: 3.938 kB / 0.731 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.082e-05/0.1784, allocations: 3.938 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.1787, allocations: 51.81 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1788, allocations: 31.86 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1789, allocations: 8 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.1791, allocations: 31.84 kB / 0.7312 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.1791, allocations: 19.86 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1792, allocations: 4 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1793, allocations: 55.95 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.1793, allocations: 0 / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.1793, allocations: 11.94 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1795, allocations: 72 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1795, allocations: 0 / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1795, allocations: 0 / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1796, allocations: 0 / 0.7313 GB, free: 14.47 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.00045/0.18, allocations: 282 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.18, allocations: 16.03 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.035e-05/0.1801, allocations: 192 / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.1801, allocations: 30.75 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01757/0.1977, allocations: 2.432 MB / 0.734 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.1981, allocations: 158.4 kB / 0.7342 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1981, allocations: 384 / 0.7342 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.1981, allocations: 384 / 0.7342 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005816/0.2039, allocations: 1.02 MB / 0.7352 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2039, allocations: 3.984 kB / 0.7352 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.204, allocations: 0 / 0.7352 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.204, allocations: 0 / 0.7352 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.215, allocations: 1.861 MB / 0.737 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007134/0.2221, allocations: 1.414 MB / 0.7384 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.2326, allocations: 1.868 MB / 0.7402 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005114/0.2377, allocations: 0.9374 MB / 0.7411 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.2377, allocations: 0 / 0.7411 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.2377, allocations: 38.56 kB / 0.7411 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.2377, allocations: 0 / 0.7411 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01558/0.2533, allocations: 2.749 MB / 0.7438 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2534, allocations: 51.41 kB / 0.7439 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2535, allocations: 117.8 kB / 0.744 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.2535, allocations: 25.7 kB / 0.744 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.2536, allocations: 84.12 kB / 0.7441 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.2536, allocations: 7.953 kB / 0.7441 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.2538, allocations: 25.69 kB / 0.7441 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2539, allocations: 322.8 kB / 0.7444 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005417/0.2593, allocations: 0.9288 MB / 0.7453 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/0.2645, allocations: 0.9325 MB / 0.7462 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009509/0.274, allocations: 1.675 MB / 0.7479 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.274, allocations: 4 kB / 0.7479 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0102/0.2842, allocations: 1.808 MB / 0.7497 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2843, allocations: 11.94 kB / 0.7497 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2843, allocations: 0 / 0.7497 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2843, allocations: 0 / 0.7497 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.2873, allocations: 467.5 kB / 0.7501 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2873, allocations: 3.984 kB / 0.7501 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.2902, allocations: 455.4 kB / 0.7505 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.2902, allocations: 7.984 kB / 0.7506 GB, free: 10.56 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.0001666/0.2904, allocations: 115.8 kB / 0.7507 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.2904, allocations: 8 kB / 0.7507 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.333e-05/0.2905, allocations: 7.609 kB / 0.7507 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.2905, allocations: 8 kB / 0.7507 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2905, allocations: 0 / 0.7507 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2905, allocations: 0 / 0.7507 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.291, allocations: 281.3 kB / 0.751 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.291, allocations: 4 kB / 0.751 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/0.294, allocations: 455.5 kB / 0.7514 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.294, allocations: 0 / 0.7514 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.2941, allocations: 11.98 kB / 0.7514 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2941, allocations: 0 / 0.7514 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2941, allocations: 0 / 0.7514 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/0.3046, allocations: 1.915 MB / 0.7533 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.3046, allocations: 0 / 0.7533 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.3046, allocations: 3.984 kB / 0.7533 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/0.3076, allocations: 451.5 kB / 0.7537 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3077, allocations: 7.984 kB / 0.7537 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.3077, allocations: 7.984 kB / 0.7537 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.221e-05/0.3078, allocations: 91.59 kB / 0.7538 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3078, allocations: 0 / 0.7538 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003332/0.3081, allocations: 36 kB / 0.7538 GB, free: 7.121 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.01102/0.3191, allocations: 2.449 MB / 0.7562 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01062/0.3298, allocations: 1.873 MB / 0.7581 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3298, allocations: 0 / 0.7581 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/0.335, allocations: 0.9404 MB / 0.759 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3353, allocations: 2.188 kB / 0.759 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3451/0.6804, allocations: 6.811 MB / 0.7656 GB, free: 36.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.6804, allocations: 63.58 kB / 0.7657 GB, free: 36.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002855/0.6807, allocations: 34.17 kB / 0.7657 GB, free: 36.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.6809, allocations: 27.48 kB / 0.7658 GB, free: 36.06 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.6809, allocations: 0 / 0.7658 GB, free: 36.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.7046, allocations: 3.719 MB / 0.7694 GB, free: 35.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.09, allocations: 10.72 kB / 0.7694 GB, free: 35.54 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: 16.013758361921646] Failed to read output from testmodel.py, exit status != 0: 12.261759165907279 12.279125477000001 12.096788249 Calling exit ...