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.001804/0.001804, allocations: 105 kB / 20.48 MB, free: 1.488 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.002468/0.002468, allocations: 215.2 kB / 23.79 MB, free: 4.703 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.576/1.576, 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.993/0.993, allocations: 150 MB / 464 MB, free: 10.52 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.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.002195/0.002195, allocations: 65.94 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1948, allocations: 89.17 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003565/0.1984, allocations: 1.81 MB / 0.7309 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1998, allocations: 0.7441 MB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1999, allocations: 3.938 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.242e-05/0.2, allocations: 7.875 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.2001, allocations: 23.78 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.2008, allocations: 185.3 kB / 0.7318 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.2011, allocations: 131.6 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.2012, allocations: 37.89 kB / 0.732 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.2014, allocations: 59.83 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.2015, allocations: 59.7 kB / 0.7321 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.2016, allocations: 8 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2017, allocations: 51.97 kB / 0.7322 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.2017, allocations: 27.91 kB / 0.7322 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.2018, allocations: 59.7 kB / 0.7322 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.2021, allocations: 163.3 kB / 0.7324 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2021, allocations: 0 / 0.7324 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2021, allocations: 0 / 0.7324 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2021, allocations: 0 / 0.7324 GB, free: 13.94 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006584/0.2028, allocations: 373.6 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2028, allocations: 12.03 kB / 0.7328 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.575e-05/0.2028, allocations: 8.125 kB / 0.7328 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.2029, allocations: 38.75 kB / 0.7328 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.2039, allocations: 132.7 kB / 0.7329 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.2042, allocations: 164.1 kB / 0.7331 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.2044, allocations: 114.9 kB / 0.7332 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.2044, allocations: 8 kB / 0.7332 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.205, allocations: 176.1 kB / 0.7334 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.205, allocations: 0 / 0.7334 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.205, allocations: 4 kB / 0.7334 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.205, allocations: 4 kB / 0.7334 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/0.2057, allocations: 155.8 kB / 0.7335 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.2068, allocations: 445 kB / 0.734 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.208, allocations: 218.3 kB / 0.7342 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.2083, allocations: 80.91 kB / 0.7342 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.2083, allocations: 11.92 kB / 0.7343 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.2083, allocations: 34.55 kB / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2083, allocations: 0 / 0.7343 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.00114/0.2095, allocations: 257.4 kB / 0.7345 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.2095, allocations: 55.34 kB / 0.7346 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2097, allocations: 152.1 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.2097, allocations: 25.7 kB / 0.7348 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.2098, allocations: 104.3 kB / 0.7349 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.2098, allocations: 19.8 kB / 0.7349 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.2099, allocations: 33.7 kB / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2101, allocations: 318.8 kB / 0.7352 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.2104, allocations: 71.92 kB / 0.7353 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.2107, allocations: 98.48 kB / 0.7354 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.2114, allocations: 158.4 kB / 0.7355 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2114, allocations: 11.88 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007327/0.2121, allocations: 197.7 kB / 0.7357 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2121, allocations: 8 kB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.2121, allocations: 4 kB / 0.7357 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2122, allocations: 4.062 kB / 0.7357 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.2125, allocations: 39.95 kB / 0.7358 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2125, allocations: 0 / 0.7358 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.2127, allocations: 27.91 kB / 0.7358 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2127, allocations: 4 kB / 0.7358 GB, free: 10.21 MB / 0.5606 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.0001211/0.2128, allocations: 121.7 kB / 0.7359 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.2129, allocations: 15.89 kB / 0.7359 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/0.2136, allocations: 202.2 kB / 0.7361 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2136, allocations: 0 / 0.7361 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.2136, allocations: 3.984 kB / 0.7361 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2136, allocations: 7.938 kB / 0.7361 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.2139, allocations: 209.5 kB / 0.7363 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.2139, allocations: 0 / 0.7363 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.2142, allocations: 31.95 kB / 0.7364 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.2142, allocations: 3.984 kB / 0.7364 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.2142, allocations: 8 kB / 0.7364 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2142, allocations: 0 / 0.7364 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2142, allocations: 0 / 0.7364 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.2149, allocations: 295.2 kB / 0.7367 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.215, allocations: 7.953 kB / 0.7367 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.215, allocations: 0 / 0.7367 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.2153, allocations: 35.95 kB / 0.7367 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.2154, allocations: 11.97 kB / 0.7367 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.2154, allocations: 3.984 kB / 0.7367 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.287e-05/0.2155, allocations: 108 kB / 0.7368 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2155, allocations: 0 / 0.7368 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002762/0.2157, allocations: 24 kB / 0.7368 GB, free: 9.066 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 (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.001189/0.2169, allocations: 0.8333 MB / 0.7377 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007176/0.2176, allocations: 159.8 kB / 0.7378 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2176, allocations: 0 / 0.7378 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.218, allocations: 87.78 kB / 0.7379 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.2183, allocations: 8.125 kB / 0.7379 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.2222, allocations: 1.845 MB / 0.7397 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.2226, allocations: 0.7061 MB / 0.7404 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000132/0.2227, allocations: 19.73 kB / 0.7404 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2229, allocations: 35.42 kB / 0.7404 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of SimCode: time 1.884e-06/0.2229, allocations: 0 / 0.7404 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.2488, allocations: 2.984 MB / 0.7434 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.51, allocations: 8.672 kB / 0.7434 GB, free: 2.406 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.488503521017265] Failed to read output from testmodel.py, exit status != 0: 11.667865009978414 11.683942548 11.478612496 Calling exit ...