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.001835/0.001835, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002082/0.002082, allocations: 210.9 kB / 23.78 MB, free: 4.555 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.549/1.549, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.954/0.954, allocations: 150 MB / 464 MB, free: 10.2 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.002985/0.002985, allocations: 62.42 kB / 0.642 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2044, allocations: 89.17 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.0051/0.2095, allocations: 1.762 MB / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.2116, allocations: 0.6818 MB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.2117, allocations: 7.938 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.373e-05/0.2118, allocations: 15.86 kB / 0.7315 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.2119, allocations: 15.8 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.2129, allocations: 179.2 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.2133, allocations: 135.6 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.2134, allocations: 33.91 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002425/0.2137, allocations: 63.83 kB / 0.7319 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2138, allocations: 51.7 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/0.2139, allocations: 12 kB / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2141, allocations: 51.95 kB / 0.732 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.2141, allocations: 31.91 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.733e-05/0.2142, allocations: 43.78 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.2146, allocations: 163.3 kB / 0.7322 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2146, allocations: 0 / 0.7322 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2146, allocations: 4 kB / 0.7322 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.2146, allocations: 0 / 0.7322 GB, free: 13.57 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.0009442/0.2156, allocations: 373.6 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.2156, allocations: 12.03 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.866e-05/0.2157, allocations: 192 / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.032e-05/0.2157, allocations: 38.75 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.2174, allocations: 132.7 kB / 0.7327 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.2178, allocations: 160.5 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002181/0.218, allocations: 122.9 kB / 0.733 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.2181, allocations: 11.94 kB / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.219, allocations: 220.9 kB / 0.7332 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.219, allocations: 0 / 0.7332 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.2191, allocations: 3.984 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2191, allocations: 4 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007875/0.2199, allocations: 159.8 kB / 0.7334 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.221, allocations: 421.1 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009936/0.222, allocations: 214.3 kB / 0.734 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.2223, allocations: 80.91 kB / 0.7341 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.2223, allocations: 7.938 kB / 0.7341 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2223, allocations: 38.56 kB / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.2223, allocations: 0 / 0.7341 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001006/0.2234, allocations: 257.4 kB / 0.7344 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.2234, allocations: 59.34 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.2236, allocations: 148.2 kB / 0.7346 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.2236, allocations: 29.7 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.2237, allocations: 100.3 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.2237, allocations: 23.8 kB / 0.7347 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.2238, allocations: 25.7 kB / 0.7347 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2239, allocations: 318.8 kB / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.2242, allocations: 75.92 kB / 0.7351 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.2245, allocations: 102.5 kB / 0.7352 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.2251, allocations: 162.4 kB / 0.7354 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2251, allocations: 7.938 kB / 0.7354 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006631/0.2258, allocations: 197.4 kB / 0.7356 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2258, allocations: 4 kB / 0.7356 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2258, allocations: 4.062 kB / 0.7356 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2258, allocations: 4 kB / 0.7356 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.2261, allocations: 31.95 kB / 0.7356 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2261, allocations: 4 kB / 0.7356 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2263, allocations: 35.84 kB / 0.7356 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.2263, allocations: 0 / 0.7356 GB, free: 9.809 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.0001304/0.2264, allocations: 125.7 kB / 0.7358 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.2265, allocations: 7.953 kB / 0.7358 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/0.2272, allocations: 206.2 kB / 0.736 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2272, allocations: 3.938 kB / 0.736 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2272, allocations: 4 kB / 0.736 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2272, allocations: 4.375 kB / 0.736 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.2275, allocations: 193.5 kB / 0.7362 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2275, allocations: 4 kB / 0.7362 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.2277, allocations: 31.95 kB / 0.7362 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2277, allocations: 0 / 0.7362 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.2277, allocations: 3.984 kB / 0.7362 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2277, allocations: 0 / 0.7362 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2277, allocations: 4 kB / 0.7362 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.2284, allocations: 295.2 kB / 0.7365 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.2285, allocations: 3.953 kB / 0.7365 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.2285, allocations: 8 kB / 0.7365 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.2288, allocations: 27.95 kB / 0.7365 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.2288, allocations: 3.984 kB / 0.7365 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.2288, allocations: 8 kB / 0.7365 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.542e-05/0.2289, allocations: 112.8 kB / 0.7366 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2289, allocations: 0 / 0.7366 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002767/0.2292, allocations: 24 kB / 0.7367 GB, free: 8.684 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.001051/0.2303, allocations: 0.8293 MB / 0.7375 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006826/0.231, allocations: 155.8 kB / 0.7376 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.231, allocations: 0 / 0.7376 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.2313, allocations: 91.97 kB / 0.7377 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.2316, allocations: 10.34 kB / 0.7377 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.235, allocations: 1.841 MB / 0.7395 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.698e-05/0.2351, allocations: 93.05 kB / 0.7396 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.2352, allocations: 19.73 kB / 0.7396 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2353, allocations: 31.42 kB / 0.7396 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2353, allocations: 0 / 0.7396 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.259, allocations: 3.115 MB / 0.7427 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.64, allocations: 15.27 kB / 0.7427 GB, free: 2.523 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.652100358041935] Failed to read output from testmodel.py, exit status != 0: 11.811254019034095 11.826192221 11.608229633 Calling exit ...