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.001348/0.001348, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.001509/0.001509, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.514/1.514, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9896/0.9896, allocations: 150 MB / 460.2 MB, free: 5.688 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.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.001971/0.001971, allocations: 63.69 kB / 0.6368 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1806, allocations: 89.14 MB / 0.7238 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002682/0.1833, allocations: 1.477 MB / 0.7253 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1844, allocations: 0.6291 MB / 0.7259 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.1844, allocations: 0 / 0.7259 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.1845, allocations: 7.922 kB / 0.7259 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.85e-05/0.1845, allocations: 7.938 kB / 0.7259 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1848, allocations: 55.75 kB / 0.726 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.1849, allocations: 27.92 kB / 0.726 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.485e-05/0.185, allocations: 8 kB / 0.726 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1851, allocations: 31.84 kB / 0.726 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.1852, allocations: 7.938 kB / 0.726 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1852, allocations: 4 kB / 0.726 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1853, allocations: 55.95 kB / 0.7261 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1853, allocations: 3.984 kB / 0.7261 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.1854, allocations: 19.88 kB / 0.7261 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1855, allocations: 72 kB / 0.7262 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1855, allocations: 0 / 0.7262 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1855, allocations: 0 / 0.7262 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1855, allocations: 0 / 0.7262 GB, free: 1.645 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004957/0.186, allocations: 357.5 kB / 0.7265 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1861, allocations: 8.031 kB / 0.7265 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.862e-05/0.1861, allocations: 8.125 kB / 0.7265 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.1861, allocations: 34.75 kB / 0.7266 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.2031, allocations: 2.436 MB / 0.729 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.2035, allocations: 208.2 kB / 0.7292 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2036, allocations: 4.375 kB / 0.7292 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.2036, allocations: 4.375 kB / 0.7292 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005823/0.2094, allocations: 1.016 MB / 0.7302 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2094, allocations: 3.938 kB / 0.7302 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.2095, allocations: 0 / 0.7302 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2095, allocations: 0 / 0.7302 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.2209, allocations: 1.861 MB / 0.732 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007332/0.2282, allocations: 1.501 MB / 0.7334 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.2397, allocations: 1.868 MB / 0.7353 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005772/0.2455, allocations: 0.9413 MB / 0.7362 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.2455, allocations: 0 / 0.7362 GB, free: 7.234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.2456, allocations: 34.56 kB / 0.7362 GB, free: 7.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.2456, allocations: 0 / 0.7362 GB, free: 7.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.01688/0.2624, allocations: 2.753 MB / 0.7389 GB, free: 4.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2625, allocations: 51.41 kB / 0.739 GB, free: 4.367 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.2627, allocations: 109.8 kB / 0.7391 GB, free: 4.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.2627, allocations: 29.7 kB / 0.7391 GB, free: 4.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.2628, allocations: 88.17 kB / 0.7392 GB, free: 4.125 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.2628, allocations: 3.953 kB / 0.7392 GB, free: 4.121 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.263, allocations: 25.67 kB / 0.7392 GB, free: 4.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2632, allocations: 322.8 kB / 0.7395 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005846/0.269, allocations: 0.9326 MB / 0.7404 GB, free: 2.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005787/0.2748, allocations: 0.9287 MB / 0.7413 GB, free: 1.902 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.2853, allocations: 1.683 MB / 0.743 GB, free: 220 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2853, allocations: 4 kB / 0.743 GB, free: 216 kB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01088/0.2962, allocations: 1.812 MB / 0.7447 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.2962, allocations: 4 kB / 0.7448 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2962, allocations: 0 / 0.7448 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.2962, allocations: 4 kB / 0.7448 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/0.2993, allocations: 471.5 kB / 0.7452 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2993, allocations: 0 / 0.7452 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.3024, allocations: 451.5 kB / 0.7456 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.3024, allocations: 3.984 kB / 0.7456 GB, free: 13.47 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 (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.0001577/0.3026, allocations: 113.8 kB / 0.7457 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.3026, allocations: 0 / 0.7457 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.3027, allocations: 15.53 kB / 0.7458 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3027, allocations: 3.938 kB / 0.7458 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3027, allocations: 0 / 0.7458 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3027, allocations: 0 / 0.7458 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.3032, allocations: 374 kB / 0.7461 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3032, allocations: 4 kB / 0.7461 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/0.3063, allocations: 471.4 kB / 0.7466 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3063, allocations: 0 / 0.7466 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.3063, allocations: 3.984 kB / 0.7466 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3063, allocations: 0 / 0.7466 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3063, allocations: 3.938 kB / 0.7466 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.3171, allocations: 1.908 MB / 0.7484 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/0.3172, allocations: 77.11 kB / 0.7485 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.3173, allocations: 3.984 kB / 0.7485 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/0.3203, allocations: 451.5 kB / 0.749 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.3204, allocations: 4 kB / 0.749 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.3204, allocations: 8.344 kB / 0.749 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.386e-05/0.3205, allocations: 95.22 kB / 0.7491 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3205, allocations: 0 / 0.7491 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003289/0.3208, allocations: 40 kB / 0.7491 GB, free: 9.836 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 (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.01114/0.3319, allocations: 2.445 MB / 0.7515 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01086/0.3428, allocations: 1.865 MB / 0.7533 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3428, allocations: 0 / 0.7533 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005306/0.3481, allocations: 0.9482 MB / 0.7542 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.3484, allocations: 0 / 0.7542 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03374/0.3821, allocations: 6.814 MB / 0.7609 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.3824, allocations: 0.6807 MB / 0.7615 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002714/0.3827, allocations: 36.03 kB / 0.7616 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.3829, allocations: 23.41 kB / 0.7616 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.3829, allocations: 0 / 0.7616 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.4042, allocations: 3.42 MB / 0.7649 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/8.877, allocations: 9.469 kB / 0.765 GB, free: 9.535 MB / 0.5762 GB " [Timeout remaining time 651] (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: 12.84121517202584] Failed to read output from testmodel.py, exit status != 0: 9.002480742987245 9.020186736 8.830917709 Calling exit ...