Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.001378/0.001378, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001492/0.001492, allocations: 214.5 kB / 23.78 MB, free: 4.523 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9559/0.9559, 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.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.002011/0.002011, allocations: 64.31 kB / 0.642 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1952, allocations: 89.18 MB / 0.729 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003064/0.1983, allocations: 1.454 MB / 0.7305 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1993, allocations: 470.9 kB / 0.7309 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.1993, allocations: 0 / 0.7309 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.1994, allocations: 0 / 0.7309 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.378e-05/0.1994, allocations: 7.938 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1997, allocations: 23.92 kB / 0.7309 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.303e-05/0.1998, allocations: 27.92 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1999, allocations: 11.98 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.2, allocations: 15.92 kB / 0.731 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.2, allocations: 11.92 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2, allocations: 4 kB / 0.731 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.21e-05/0.2001, allocations: 8 kB / 0.731 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.2001, allocations: 7.984 kB / 0.731 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.2001, allocations: 11.94 kB / 0.731 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2003, allocations: 28.17 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2003, allocations: 7.938 kB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2003, allocations: 3.938 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2003, allocations: 4 kB / 0.7311 GB, free: 14.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004945/0.2008, allocations: 266.3 kB / 0.7313 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.2008, allocations: 11.97 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.94e-05/0.2008, allocations: 192 / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.2009, allocations: 30.75 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.2012, allocations: 20.91 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2013, allocations: 114.5 kB / 0.7315 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2013, allocations: 384 / 0.7315 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2013, allocations: 4.375 kB / 0.7315 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.2015, allocations: 61.59 kB / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.2016, allocations: 0 / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2016, allocations: 0 / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2016, allocations: 0 / 0.7316 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.2018, allocations: 39.91 kB / 0.7316 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.2022, allocations: 224 kB / 0.7318 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.2024, allocations: 38.56 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.2025, allocations: 24.91 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2025, allocations: 4 kB / 0.7319 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2025, allocations: 34.56 kB / 0.7319 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2025, allocations: 0 / 0.7319 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004191/0.203, allocations: 97.56 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.203, allocations: 51.41 kB / 0.7321 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.2031, allocations: 97.86 kB / 0.7322 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.2031, allocations: 33.83 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.2032, allocations: 80.14 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.2032, allocations: 11.88 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.2032, allocations: 17.72 kB / 0.7323 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2034, allocations: 314.8 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.185e-05/0.2035, allocations: 19.98 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.2035, allocations: 19.97 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.2037, allocations: 48.83 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2037, allocations: 0 / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002093/0.2039, allocations: 73.61 kB / 0.7327 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2039, allocations: 4 kB / 0.7327 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2039, allocations: 0 / 0.7327 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2039, allocations: 4 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.2041, allocations: 7.984 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2041, allocations: 3.938 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.2041, allocations: 16.02 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.2042, allocations: 0 / 0.7328 GB, free: 12.75 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 9.021e-05/0.2042, allocations: 113.8 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.2043, allocations: 7.938 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.2043, allocations: 3.312 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2043, allocations: 0 / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2043, allocations: 0 / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2043, allocations: 0 / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.2045, allocations: 132.7 kB / 0.733 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2045, allocations: 4 kB / 0.733 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-05/0.2046, allocations: 15.92 kB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2046, allocations: 0 / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.2046, allocations: 3.984 kB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2046, allocations: 0 / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2046, allocations: 0 / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.2049, allocations: 171.4 kB / 0.7332 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.2049, allocations: 0 / 0.7332 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.2049, allocations: 16.27 kB / 0.7332 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.205, allocations: 4 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.205, allocations: 7.984 kB / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.205, allocations: 0 / 0.7332 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.2051, allocations: 79.28 kB / 0.7333 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2051, allocations: 0 / 0.7333 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002218/0.2053, allocations: 8 kB / 0.7333 GB, free: 12.12 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.0006314/0.2059, allocations: 0.7007 MB / 0.734 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.2062, allocations: 43.95 kB / 0.734 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2062, allocations: 0 / 0.734 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-05/0.2063, allocations: 19.92 kB / 0.7341 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.2066, allocations: 11.98 kB / 0.7341 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.2071, allocations: 139.1 kB / 0.7342 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.347e-05/0.2072, allocations: 63.47 kB / 0.7343 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.2072, allocations: 4 kB / 0.7343 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.2073, allocations: 15.38 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.2073, allocations: 4 kB / 0.7343 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.2304, allocations: 1.591 MB / 0.7358 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.59, allocations: 14.2 kB / 0.7359 GB, free: 9.59 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.51090686605312] Failed to read output from testmodel.py, exit status != 0: 11.753636665991507 11.768985475 11.565671193 Calling exit ...