Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001384/0.001384, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.00201/0.00201, allocations: 219.1 kB / 22.99 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.495/1.495, 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 0.9882/0.9882, allocations: 149.9 MB / 463 MB, free: 10.32 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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.002051/0.002051, allocations: 71.56 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1771, allocations: 89.18 MB / 0.7282 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001902/0.179, allocations: 0.5857 MB / 0.7288 GB, free: 400 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1806, allocations: 1.132 MB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.1806, allocations: 0 / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.1806, allocations: 0 / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1808, allocations: 27.91 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-06/0.1808, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.673e-05/0.1809, allocations: 3.938 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.1809, allocations: 0 / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.57e-05/0.1809, allocations: 4 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.244e-05/0.1809, allocations: 7.922 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-06/0.1809, allocations: 4 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.181, allocations: 15.98 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.181, allocations: 3.938 kB / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-06/0.181, allocations: 0 / 0.7299 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.503e-05/0.1811, allocations: 16.25 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1811, allocations: 0 / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1811, allocations: 0 / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1811, allocations: 0 / 0.73 GB, free: 15.16 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.0002639/0.1814, allocations: 242.4 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1814, allocations: 12.03 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.1815, allocations: 30.75 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.1817, allocations: 16.92 kB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.437e-05/0.1818, allocations: 114.4 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1818, allocations: 384 / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1818, allocations: 4.375 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1819, allocations: 45.75 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1819, allocations: 3.984 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1819, allocations: 0 / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1819, allocations: 4 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.101e-05/0.182, allocations: 11.98 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.1821, allocations: 120.7 kB / 0.7305 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1823, allocations: 38.61 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.1823, allocations: 8.859 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1823, allocations: 0 / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.1824, allocations: 42.44 kB / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1824, allocations: 0 / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.003899/0.1863, allocations: 0.5365 MB / 0.7311 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.1863, allocations: 55.34 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.879e-05/0.1864, allocations: 89.86 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1864, allocations: 29.7 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.1864, allocations: 84.14 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1865, allocations: 19.78 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.1865, allocations: 17.72 kB / 0.7314 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002357/0.1868, allocations: 318.8 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.1874, allocations: 87.95 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.188, allocations: 98.53 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.1891, allocations: 194.4 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1891, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001232/0.1904, allocations: 217.5 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1904, allocations: 4 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1904, allocations: 4 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1904, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.1908, allocations: 56 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1908, allocations: 0 / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.1912, allocations: 43.97 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1912, allocations: 0 / 0.7324 GB, free: 12.44 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 (5): * Single equations (assignments): 5 * 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.505e-05/0.1913, allocations: 109.8 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.1913, allocations: 3.938 kB / 0.7325 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.1914, allocations: 19.47 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1914, allocations: 4 kB / 0.7325 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1914, allocations: 4 kB / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1914, allocations: 0 / 0.7325 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.193, allocations: 417.5 kB / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.193, allocations: 0 / 0.7329 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.1934, allocations: 51.97 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1934, allocations: 0 / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1934, allocations: 8.172 kB / 0.733 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1934, allocations: 4 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1934, allocations: 0 / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.1947, allocations: 319.3 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.1947, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1947, allocations: 0 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.1951, allocations: 39.98 kB / 0.7333 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.1951, allocations: 4.406 kB / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1952, allocations: 4 kB / 0.7333 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.1952, allocations: 75.28 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1952, allocations: 0 / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002413/0.1954, allocations: 12 kB / 0.7334 GB, free: 11.31 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 (5): * Single equations (assignments): 5 * 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.001643/0.1971, allocations: 0.8333 MB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.1983, allocations: 183.9 kB / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1983, allocations: 0 / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.199, allocations: 92.08 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1992, allocations: 4 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2006, allocations: 246.4 kB / 0.7347 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.15e-05/0.2006, allocations: 59.36 kB / 0.7348 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.2008, allocations: 32 kB / 0.7348 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.2009, allocations: 19.41 kB / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2009, allocations: 0 / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.2304, allocations: 2.105 MB / 0.7369 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.44, allocations: 10.62 kB / 0.7369 GB, free: 7.805 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.163460035808384] Failed to read output from testmodel.py, exit status != 0: 11.550289659760892 11.57551579 11.389623597 Calling exit ...