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.001563/0.001563, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001886/0.001886, allocations: 222.7 kB / 23.03 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.002458/0.002458, allocations: 282.1 kB / 313.5 MB, free: 2.613 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.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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.002794/0.002794, allocations: 107.3 kB / 0.7403 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1687, allocations: 95.38 MB / 0.8334 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.00273/0.1714, allocations: 1.471 MB / 0.8348 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000899/0.1723, allocations: 461.5 kB / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.1723, allocations: 0 / 0.8353 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.84e-05/0.1724, allocations: 3.938 kB / 0.8353 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.1724, allocations: 11.92 kB / 0.8353 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1726, allocations: 19.98 kB / 0.8353 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.782e-05/0.1727, allocations: 23.86 kB / 0.8353 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.1728, allocations: 8 kB / 0.8353 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.1728, allocations: 15.92 kB / 0.8354 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.1729, allocations: 15.92 kB / 0.8354 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1729, allocations: 0 / 0.8354 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.1729, allocations: 15.98 kB / 0.8354 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.173, allocations: 7.984 kB / 0.8354 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.173, allocations: 11.94 kB / 0.8354 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1731, allocations: 36.11 kB / 0.8354 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1731, allocations: 0 / 0.8354 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1731, allocations: 0 / 0.8354 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1731, allocations: 0 / 0.8354 GB, free: 6.215 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.0004122/0.1735, allocations: 266.3 kB / 0.8357 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1736, allocations: 9.938 kB / 0.8357 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.622e-05/0.1736, allocations: 4.188 kB / 0.8357 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.1736, allocations: 30.75 kB / 0.8357 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.1736, allocations: 8.828 kB / 0.8358 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.933e-05/0.1737, allocations: 122.5 kB / 0.8359 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1737, allocations: 4.375 kB / 0.8359 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.1737, allocations: 384 / 0.8359 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1739, allocations: 53.61 kB / 0.8359 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1739, allocations: 3.984 kB / 0.8359 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1739, allocations: 4 kB / 0.8359 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1739, allocations: 0 / 0.8359 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.1741, allocations: 27.97 kB / 0.836 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.1744, allocations: 227.9 kB / 0.8362 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1745, allocations: 34.56 kB / 0.8362 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.1746, allocations: 24.89 kB / 0.8362 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.533e-05/0.1747, allocations: 4 kB / 0.8362 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1747, allocations: 34.56 kB / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1747, allocations: 0 / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003396/0.1751, allocations: 93.62 kB / 0.8364 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1751, allocations: 51.41 kB / 0.8364 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.1752, allocations: 101.8 kB / 0.8365 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1752, allocations: 29.7 kB / 0.8365 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.1753, allocations: 80.14 kB / 0.8366 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.1753, allocations: 11.89 kB / 0.8366 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1753, allocations: 13.72 kB / 0.8366 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1754, allocations: 318.8 kB / 0.8369 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.1755, allocations: 15.98 kB / 0.837 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.59e-05/0.1756, allocations: 23.95 kB / 0.837 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1757, allocations: 40.81 kB / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1757, allocations: 0 / 0.837 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001854/0.1759, allocations: 69.61 kB / 0.8371 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.176, allocations: 4 kB / 0.8371 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.176, allocations: 4.094 kB / 0.8371 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.176, allocations: 0 / 0.8371 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.027e-05/0.1761, allocations: 11.98 kB / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1761, allocations: 0 / 0.8371 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.1761, allocations: 7.984 kB / 0.8371 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1761, allocations: 0 / 0.8371 GB, free: 4.32 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.014e-05/0.1762, allocations: 110.4 kB / 0.8372 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1762, allocations: 7.953 kB / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1765, allocations: 76.91 kB / 0.8373 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1765, allocations: 4 kB / 0.8373 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1765, allocations: 0 / 0.8373 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1765, allocations: 0 / 0.8373 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1766, allocations: 128.7 kB / 0.8374 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1766, allocations: 0 / 0.8374 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.1767, allocations: 15.92 kB / 0.8374 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1767, allocations: 0 / 0.8374 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1767, allocations: 256 / 0.8374 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1767, allocations: 4 kB / 0.8374 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1767, allocations: 4.031 kB / 0.8374 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1769, allocations: 163.5 kB / 0.8376 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.1769, allocations: 4 kB / 0.8376 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.177, allocations: 0 / 0.8376 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.177, allocations: 7.984 kB / 0.8376 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1771, allocations: 0 / 0.8376 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.1771, allocations: 0 / 0.8376 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.1771, allocations: 95.2 kB / 0.8377 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1771, allocations: 32 / 0.8377 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002171/0.1773, allocations: 8 kB / 0.8377 GB, free: 3.625 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.0005759/0.1779, allocations: 0.7006 MB / 0.8384 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1781, allocations: 35.95 kB / 0.8384 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1781, allocations: 3.938 kB / 0.8384 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.1782, allocations: 28.02 kB / 0.8385 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1785, allocations: 6.344 kB / 0.8385 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.1789, allocations: 147.3 kB / 0.8386 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.79e-05/0.179, allocations: 55.36 kB / 0.8387 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.179, allocations: 4 kB / 0.8387 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.1791, allocations: 11.42 kB / 0.8387 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.1791, allocations: 0 / 0.8387 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.2003, allocations: 1.65 MB / 0.8403 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.39, allocations: 11.16 kB / 0.8403 GB, free: 1.059 MB / 0.5762 GB " [Timeout remaining time 648] (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.587397947907448] Failed to read output from testmodel.py, exit status != 0: 11.54587230400648 11.562719739 11.386433336 Calling exit ...