Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.001585/0.001585, 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.002156/0.002156, 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.534/1.534, 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.021/1.021, allocations: 150 MB / 460.2 MB, free: 5.305 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.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.002766/0.002766, allocations: 72.39 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2396, allocations: 89.13 MB / 0.7238 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.004669/0.2442, allocations: 1.798 MB / 0.7256 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.2462, allocations: 0.7324 MB / 0.7263 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2464, allocations: 4 kB / 0.7263 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.051e-05/0.2464, allocations: 19.73 kB / 0.7263 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.2465, allocations: 15.81 kB / 0.7264 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.2475, allocations: 188.6 kB / 0.7265 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.2478, allocations: 119.7 kB / 0.7266 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.248, allocations: 41.69 kB / 0.7267 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.2482, allocations: 71.7 kB / 0.7268 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2483, allocations: 47.78 kB / 0.7268 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.2483, allocations: 12 kB / 0.7268 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2485, allocations: 47.95 kB / 0.7269 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.2486, allocations: 31.91 kB / 0.7269 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.2487, allocations: 59.64 kB / 0.7269 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.249, allocations: 159.4 kB / 0.7271 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.249, allocations: 0 / 0.7271 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.249, allocations: 7.938 kB / 0.7271 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.249, allocations: 0 / 0.7271 GB, free: 0.7031 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008751/0.2499, allocations: 446.8 kB / 0.7275 GB, free: 224 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.2499, allocations: 8.031 kB / 0.7275 GB, free: 216 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.893e-05/0.25, allocations: 4.188 kB / 0.7275 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.25, allocations: 46.73 kB / 0.7276 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.2515, allocations: 120.7 kB / 0.7277 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.252, allocations: 217.6 kB / 0.7279 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.2521, allocations: 71.52 kB / 0.728 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/0.2522, allocations: 8 kB / 0.728 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/0.2529, allocations: 173.4 kB / 0.7282 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.253, allocations: 0 / 0.7282 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.253, allocations: 8 kB / 0.7282 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.253, allocations: 0 / 0.7282 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009349/0.2539, allocations: 159.8 kB / 0.7283 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.2555, allocations: 470 kB / 0.7288 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.257, allocations: 218.3 kB / 0.729 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.2575, allocations: 80.91 kB / 0.729 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.2575, allocations: 11.92 kB / 0.7291 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.2576, allocations: 38.5 kB / 0.7291 GB, free: 14.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.2576, allocations: 0 / 0.7291 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001502/0.2591, allocations: 257.4 kB / 0.7293 GB, free: 14.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.2591, allocations: 59.39 kB / 0.7294 GB, free: 14.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.2593, allocations: 145.1 kB / 0.7295 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.2594, allocations: 29.7 kB / 0.7296 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2595, allocations: 104.3 kB / 0.7297 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.2595, allocations: 35.77 kB / 0.7297 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.2596, allocations: 17.72 kB / 0.7297 GB, free: 13.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.2599, allocations: 322.8 kB / 0.73 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004439/0.2603, allocations: 79.84 kB / 0.7301 GB, free: 13.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004809/0.2608, allocations: 102.4 kB / 0.7302 GB, free: 13.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.2617, allocations: 162.4 kB / 0.7304 GB, free: 13.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.2617, allocations: 3.938 kB / 0.7304 GB, free: 13.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009904/0.2627, allocations: 197.4 kB / 0.7305 GB, free: 12.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2627, allocations: 4 kB / 0.7305 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2628, allocations: 4.062 kB / 0.7306 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.2628, allocations: 4 kB / 0.7306 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.2631, allocations: 39.88 kB / 0.7306 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2632, allocations: 4 kB / 0.7306 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.2634, allocations: 27.92 kB / 0.7306 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2634, allocations: 4 kB / 0.7306 GB, free: 12.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001925/0.2636, allocations: 121.7 kB / 0.7307 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.184e-05/0.2637, allocations: 15.94 kB / 0.7308 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.2648, allocations: 202.2 kB / 0.731 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.2648, allocations: 4 kB / 0.731 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2648, allocations: 4.375 kB / 0.731 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2648, allocations: 0 / 0.731 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.2653, allocations: 246.1 kB / 0.7312 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2653, allocations: 4 kB / 0.7312 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.2656, allocations: 31.95 kB / 0.7312 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2656, allocations: 0 / 0.7312 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2656, allocations: 0 / 0.7312 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2656, allocations: 0 / 0.7312 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2656, allocations: 0 / 0.7312 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.2666, allocations: 291.2 kB / 0.7315 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.2667, allocations: 85.06 kB / 0.7316 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.2668, allocations: 4 kB / 0.7316 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.2672, allocations: 39.83 kB / 0.7316 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/0.2672, allocations: 7.984 kB / 0.7316 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.2673, allocations: 7.984 kB / 0.7316 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001303/0.2674, allocations: 110.5 kB / 0.7317 GB, free: 11.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2674, allocations: 0 / 0.7317 GB, free: 11.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004455/0.2678, allocations: 20 kB / 0.7318 GB, free: 11.56 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 (6): * Single equations (assignments): 6 * 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.001482/0.2693, allocations: 0.8249 MB / 0.7326 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009943/0.2703, allocations: 163.8 kB / 0.7327 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2703, allocations: 0 / 0.7327 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.2708, allocations: 83.98 kB / 0.7328 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.2713, allocations: 17.28 kB / 0.7328 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.276, allocations: 1.841 MB / 0.7346 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.2766, allocations: 0.7077 MB / 0.7353 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.2767, allocations: 23.97 kB / 0.7353 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.2768, allocations: 31.42 kB / 0.7354 GB, free: 7.738 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.2768, allocations: 0 / 0.7354 GB, free: 7.738 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.3015, allocations: 2.849 MB / 0.7382 GB, free: 4.992 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.68, allocations: 6.938 kB / 0.7382 GB, free: 4.992 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.724448227963876] Failed to read output from testmodel.py, exit status != 0: 8.810221544001251 8.831370709 8.579143784 Calling exit ...