Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001311/0.001311, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001493/0.001493, allocations: 217 kB / 23.04 MB, free: 5.074 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002586/0.002586, allocations: 292.6 kB / 313.5 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.227/1.227, allocations: 180.6 MB / 0.5377 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004092/0.004092, allocations: 100.9 kB / 0.7404 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.194, allocations: 95.39 MB / 0.8335 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.00315/0.1971, allocations: 1.471 MB / 0.8349 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.1981, allocations: 0.5052 MB / 0.8354 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1981, allocations: 0 / 0.8354 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.1982, allocations: 0 / 0.8354 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.1982, allocations: 3.938 kB / 0.8354 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1985, allocations: 27.89 kB / 0.8355 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.1985, allocations: 23.88 kB / 0.8355 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.1986, allocations: 15.98 kB / 0.8355 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.1987, allocations: 7.938 kB / 0.8355 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.1987, allocations: 11.98 kB / 0.8355 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1987, allocations: 0 / 0.8355 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.1988, allocations: 23.92 kB / 0.8355 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.1988, allocations: 7.938 kB / 0.8356 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.1988, allocations: 19.91 kB / 0.8356 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.199, allocations: 28.19 kB / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.199, allocations: 0 / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.199, allocations: 0 / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.199, allocations: 0 / 0.8356 GB, free: 6.477 MB / 0.5762 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.0004466/0.1994, allocations: 274.2 kB / 0.8359 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1995, allocations: 9.344 kB / 0.8359 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.513e-05/0.1995, allocations: 4.188 kB / 0.8359 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.1995, allocations: 30.75 kB / 0.8359 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.1995, allocations: 0.9375 kB / 0.8359 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.1996, allocations: 114.5 kB / 0.836 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-06/0.1996, allocations: 384 / 0.836 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.1997, allocations: 384 / 0.836 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.1998, allocations: 61.55 kB / 0.8361 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1998, allocations: 0 / 0.8361 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1998, allocations: 0 / 0.8361 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1999, allocations: 0 / 0.8361 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.2, allocations: 35.97 kB / 0.8361 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.2004, allocations: 223.9 kB / 0.8363 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2005, allocations: 42.56 kB / 0.8364 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.2006, allocations: 24.84 kB / 0.8364 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.2007, allocations: 11.97 kB / 0.8364 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.2008, allocations: 30.56 kB / 0.8364 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2008, allocations: 0 / 0.8364 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003657/0.2011, allocations: 85.64 kB / 0.8365 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.2012, allocations: 51.41 kB / 0.8366 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.809e-05/0.2012, allocations: 101.9 kB / 0.8367 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.2013, allocations: 29.64 kB / 0.8367 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.2013, allocations: 84.12 kB / 0.8368 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.2013, allocations: 7.891 kB / 0.8368 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.2014, allocations: 21.84 kB / 0.8368 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2015, allocations: 314.8 kB / 0.8371 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.2016, allocations: 19.98 kB / 0.8371 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/0.2017, allocations: 15.97 kB / 0.8371 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.2019, allocations: 36.83 kB / 0.8372 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2019, allocations: 8 kB / 0.8372 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001935/0.2021, allocations: 69.91 kB / 0.8372 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2021, allocations: 4 kB / 0.8372 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2021, allocations: 0 / 0.8372 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2021, allocations: 0 / 0.8372 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.2022, allocations: 23.86 kB / 0.8373 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2022, allocations: 0 / 0.8373 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.2022, allocations: 8.031 kB / 0.8373 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.2022, allocations: 0 / 0.8373 GB, free: 4.574 MB / 0.5762 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 8.658e-05/0.2023, allocations: 114.4 kB / 0.8374 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.2023, allocations: 7.953 kB / 0.8374 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.2026, allocations: 68.97 kB / 0.8375 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2026, allocations: 0 / 0.8375 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2026, allocations: 4 kB / 0.8375 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2026, allocations: 4.031 kB / 0.8375 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.2027, allocations: 132.7 kB / 0.8376 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2027, allocations: 0 / 0.8376 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.2028, allocations: 8 kB / 0.8376 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2028, allocations: 0 / 0.8376 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2028, allocations: 3.938 kB / 0.8376 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2028, allocations: 0 / 0.8376 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2028, allocations: 3.984 kB / 0.8376 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.203, allocations: 163.5 kB / 0.8378 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.2031, allocations: 7.984 kB / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.2031, allocations: 0 / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.2031, allocations: 4 kB / 0.8378 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.2032, allocations: 3.984 kB / 0.8378 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2032, allocations: 0 / 0.8378 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.2032, allocations: 83.28 kB / 0.8379 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2032, allocations: 4.031 kB / 0.8379 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002244/0.2035, allocations: 8 kB / 0.8379 GB, free: 3.887 MB / 0.5762 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.0006125/0.2041, allocations: 0.7083 MB / 0.8386 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2043, allocations: 36 kB / 0.8386 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2043, allocations: 0 / 0.8386 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.2044, allocations: 19.98 kB / 0.8386 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.2047, allocations: 8.672 kB / 0.8386 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.2052, allocations: 148.3 kB / 0.8388 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2055, allocations: 0.6808 MB / 0.8394 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.2055, allocations: 11.88 kB / 0.8394 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.2056, allocations: 7.438 kB / 0.8394 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2056, allocations: 0 / 0.8394 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.2264, allocations: 1.579 MB / 0.841 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.11, allocations: 6.688 kB / 0.841 GB, free: 0.75 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.341496901994105] Failed to read output from testmodel.py, exit status != 0: 11.297354081005324 11.312052109 11.110015242 Calling exit ...