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.001413/0.001413, allocations: 119 kB / 19.69 MB, free: 2.199 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.001853/0.001853, allocations: 221 kB / 23.01 MB, free: 5.043 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.973 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 1.028/1.028, allocations: 150 MB / 463.2 MB, free: 10.48 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.002103/0.002103, allocations: 70.55 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1777, allocations: 89.17 MB / 0.7284 GB, free: 1.234 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002878/0.1806, allocations: 1.467 MB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1816, allocations: 0.4949 MB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.1817, allocations: 4 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.1817, allocations: 3.984 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.1818, allocations: 7.922 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.182, allocations: 27.92 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.054e-05/0.1821, allocations: 27.92 kB / 0.7303 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1822, allocations: 0 / 0.7303 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.1823, allocations: 11.94 kB / 0.7303 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.1823, allocations: 15.92 kB / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.1823, allocations: 0 / 0.7304 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.629e-05/0.1824, allocations: 23.97 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.1824, allocations: 8 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1825, allocations: 15.92 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1826, allocations: 36.05 kB / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1826, allocations: 0 / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1826, allocations: 0 / 0.7304 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.1826, allocations: 0 / 0.7304 GB, free: 15.07 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.000493/0.1831, allocations: 266.3 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1832, allocations: 8.031 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.1832, allocations: 38.69 kB / 0.7307 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.1835, allocations: 24.91 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1836, allocations: 110.5 kB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1836, allocations: 384 / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1837, allocations: 4.375 kB / 0.7309 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1839, allocations: 57.78 kB / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1839, allocations: 0 / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.1839, allocations: 0 / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.1839, allocations: 0 / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.1841, allocations: 43.91 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.1845, allocations: 224 kB / 0.7312 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1846, allocations: 46.55 kB / 0.7312 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.1847, allocations: 16.91 kB / 0.7312 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1847, allocations: 4 kB / 0.7312 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.1848, allocations: 42.5 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1848, allocations: 0 / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003594/0.1851, allocations: 81.64 kB / 0.7314 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1852, allocations: 55.41 kB / 0.7314 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.1853, allocations: 101.8 kB / 0.7315 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1853, allocations: 29.83 kB / 0.7315 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.08e-05/0.1853, allocations: 88.14 kB / 0.7316 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.1853, allocations: 7.891 kB / 0.7316 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.1854, allocations: 17.7 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1855, allocations: 314.8 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.1856, allocations: 15.98 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-05/0.1857, allocations: 19.98 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.1858, allocations: 52.75 kB / 0.732 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1858, allocations: 0 / 0.732 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.186, allocations: 81.59 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1861, allocations: 4 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1861, allocations: 0 / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1861, allocations: 4.031 kB / 0.7321 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1862, allocations: 12.23 kB / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.1862, allocations: 0 / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.1863, allocations: 8 kB / 0.7321 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1863, allocations: 3.984 kB / 0.7321 GB, free: 13.13 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 8.393e-05/0.1864, allocations: 119.8 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1864, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.1864, allocations: 3.312 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1865, allocations: 4 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1865, allocations: 7.938 kB / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1865, allocations: 0 / 0.7323 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1866, allocations: 140.6 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1866, allocations: 0 / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.1867, allocations: 11.98 kB / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1867, allocations: 0 / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1867, allocations: 0 / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1867, allocations: 0 / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1867, allocations: 4 kB / 0.7324 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.187, allocations: 171.4 kB / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.187, allocations: 0 / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.187, allocations: 4 kB / 0.7326 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1871, allocations: 7.984 kB / 0.7326 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.1872, allocations: 0 / 0.7326 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1872, allocations: 4.031 kB / 0.7326 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.1872, allocations: 87.27 kB / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1872, allocations: 0 / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002178/0.1874, allocations: 7.938 kB / 0.7327 GB, free: 12.5 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.0005968/0.188, allocations: 0.7039 MB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1882, allocations: 39.95 kB / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1882, allocations: 0 / 0.7334 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.1883, allocations: 23.92 kB / 0.7334 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.1886, allocations: 7.938 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.1891, allocations: 147.2 kB / 0.7336 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1894, allocations: 0.6729 MB / 0.7342 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.1894, allocations: 7.984 kB / 0.7343 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.1895, allocations: 11.44 kB / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1895, allocations: 0 / 0.7343 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.2167, allocations: 1.508 MB / 0.7357 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.05, allocations: 2.828 kB / 0.7357 GB, free: 9.43 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.880566942039877] Failed to read output from testmodel.py, exit status != 0: 11.161751451902092 11.18652136 10.998993034 Calling exit ...