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.001365/0.001365, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001438/0.001438, allocations: 221.2 kB / 23 MB, free: 4.969 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.006/1.006, allocations: 149.9 MB / 463 MB, free: 10.35 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",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.002129/0.002129, allocations: 63.41 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1958, allocations: 89.18 MB / 0.7282 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003467/0.1992, allocations: 1.755 MB / 0.7299 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.2006, allocations: 0.6819 MB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.814e-05/0.2007, allocations: 7.938 kB / 0.7306 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.815e-05/0.2007, allocations: 11.86 kB / 0.7306 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-05/0.2008, allocations: 15.8 kB / 0.7306 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.2014, allocations: 187.6 kB / 0.7308 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.2016, allocations: 135.5 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.2018, allocations: 33.91 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.202, allocations: 59.83 kB / 0.731 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2021, allocations: 43.77 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.2021, allocations: 12 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.2023, allocations: 51.95 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.2023, allocations: 27.91 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.2023, allocations: 55.72 kB / 0.7312 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.2026, allocations: 163.3 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2026, allocations: 0 / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2026, allocations: 0 / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.2026, allocations: 0 / 0.7313 GB, free: 13.8 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.0007251/0.2034, allocations: 369.7 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2034, allocations: 8.031 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.2035, allocations: 42.73 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.2045, allocations: 124.7 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.2048, allocations: 163.7 kB / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.205, allocations: 123.1 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.205, allocations: 4 kB / 0.7321 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.2056, allocations: 228.8 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2056, allocations: 0 / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2056, allocations: 4 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2056, allocations: 0 / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.2063, allocations: 161.7 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2074, allocations: 417.1 kB / 0.7329 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.2085, allocations: 226.2 kB / 0.7331 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.2088, allocations: 72.91 kB / 0.7332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.2088, allocations: 4 kB / 0.7332 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.2089, allocations: 46.48 kB / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.2089, allocations: 0 / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001049/0.2099, allocations: 253.4 kB / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.21, allocations: 55.41 kB / 0.7335 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2101, allocations: 140.7 kB / 0.7336 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.2102, allocations: 37.64 kB / 0.7337 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.2102, allocations: 108.3 kB / 0.7338 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.2103, allocations: 19.8 kB / 0.7338 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.2103, allocations: 25.64 kB / 0.7338 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2105, allocations: 322.8 kB / 0.7341 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.2108, allocations: 75.92 kB / 0.7342 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.2111, allocations: 98.48 kB / 0.7343 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.2117, allocations: 162.4 kB / 0.7345 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2117, allocations: 0 / 0.7345 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006922/0.2124, allocations: 201.4 kB / 0.7347 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.2124, allocations: 12.06 kB / 0.7347 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2125, allocations: 0 / 0.7347 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2125, allocations: 0 / 0.7347 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.2127, allocations: 35.95 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2127, allocations: 0 / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2129, allocations: 31.91 kB / 0.7347 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.213, allocations: 4 kB / 0.7347 GB, free: 10.06 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.0001128/0.2131, allocations: 121.7 kB / 0.7348 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.2131, allocations: 11.95 kB / 0.7349 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/0.2139, allocations: 210.1 kB / 0.7351 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2139, allocations: 0 / 0.7351 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2139, allocations: 8.359 kB / 0.7351 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2139, allocations: 0 / 0.7351 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.2141, allocations: 193.5 kB / 0.7353 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2141, allocations: 4 kB / 0.7353 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.2143, allocations: 35.89 kB / 0.7353 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2143, allocations: 0 / 0.7353 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.2144, allocations: 3.984 kB / 0.7353 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2144, allocations: 0 / 0.7353 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2144, allocations: 0 / 0.7353 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007139/0.2151, allocations: 295.2 kB / 0.7356 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.2151, allocations: 11.95 kB / 0.7356 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2151, allocations: 0 / 0.7356 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.2154, allocations: 31.95 kB / 0.7356 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.2154, allocations: 7.984 kB / 0.7356 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.2155, allocations: 11.98 kB / 0.7356 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.998e-05/0.2155, allocations: 105 kB / 0.7357 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2155, allocations: 0 / 0.7357 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000267/0.2158, allocations: 20 kB / 0.7358 GB, free: 8.934 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.001067/0.2169, allocations: 0.8254 MB / 0.7366 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006828/0.2176, allocations: 155.8 kB / 0.7367 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2176, allocations: 0 / 0.7367 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.2179, allocations: 87.97 kB / 0.7368 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2182, allocations: 13.91 kB / 0.7368 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/0.2215, allocations: 1.849 MB / 0.7386 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.706e-05/0.2216, allocations: 93.05 kB / 0.7387 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.2217, allocations: 15.75 kB / 0.7387 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/0.2218, allocations: 39.41 kB / 0.7388 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.2218, allocations: 0 / 0.7388 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.2529, allocations: 3.451 MB / 0.7421 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.46, allocations: 7.375 kB / 0.7421 GB, free: 2.422 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.278833837248385] Failed to read output from testmodel.py, exit status != 0: 11.56583265401423 11.59284136 11.385131504 Calling exit ...