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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002573/0.002573, allocations: 283.2 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.332/1.332, allocations: 180.9 MB / 0.5261 GB, free: 14.78 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 100 kB / 0.7248 GB, free: 40.09 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1787, allocations: 94.16 MB / 0.8167 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002804/0.1815, allocations: 1.445 MB / 0.8181 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000867/0.1823, allocations: 477.6 kB / 0.8186 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.1824, allocations: 0 / 0.8186 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.796e-05/0.1824, allocations: 3.938 kB / 0.8186 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/0.1825, allocations: 7.875 kB / 0.8186 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/0.1827, allocations: 31.97 kB / 0.8186 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.1828, allocations: 19.94 kB / 0.8187 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.1829, allocations: 7.984 kB / 0.8187 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.1829, allocations: 15.92 kB / 0.8187 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.183, allocations: 11.92 kB / 0.8187 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.183, allocations: 4 kB / 0.8187 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.1831, allocations: 19.98 kB / 0.8187 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1831, allocations: 0 / 0.8187 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.1831, allocations: 15.92 kB / 0.8187 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1832, allocations: 36.11 kB / 0.8188 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1833, allocations: 4 kB / 0.8188 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.525e-06/0.1833, allocations: 0 / 0.8188 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1833, allocations: 0 / 0.8188 GB, free: 3.312 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.0005275/0.1838, allocations: 343.4 kB / 0.8191 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1838, allocations: 8.031 kB / 0.8191 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1839, allocations: 30.75 kB / 0.8191 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.1839, allocations: 16.81 kB / 0.8191 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.184, allocations: 160.4 kB / 0.8193 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1841, allocations: 384 / 0.8193 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1841, allocations: 8.375 kB / 0.8193 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1843, allocations: 57.8 kB / 0.8194 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1843, allocations: 0 / 0.8194 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.1843, allocations: 0 / 0.8194 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1843, allocations: 0 / 0.8194 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1844, allocations: 31.97 kB / 0.8194 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.1848, allocations: 264.8 kB / 0.8196 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1849, allocations: 38.5 kB / 0.8197 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.166e-05/0.185, allocations: 20.89 kB / 0.8197 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1851, allocations: 81.11 kB / 0.8198 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1852, allocations: 34.56 kB / 0.8198 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1852, allocations: 4 kB / 0.8198 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003375/0.1855, allocations: 85.53 kB / 0.8199 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1855, allocations: 51.41 kB / 0.8199 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.1856, allocations: 105.8 kB / 0.8201 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.1856, allocations: 25.7 kB / 0.8201 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.1857, allocations: 84.14 kB / 0.8202 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1857, allocations: 12.08 kB / 0.8202 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.1857, allocations: 9.719 kB / 0.8202 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1859, allocations: 326.8 kB / 0.8205 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.186, allocations: 11.98 kB / 0.8205 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.186, allocations: 15.98 kB / 0.8205 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1862, allocations: 44.88 kB / 0.8206 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1862, allocations: 0 / 0.8206 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001765/0.1863, allocations: 65.61 kB / 0.8206 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1864, allocations: 4 kB / 0.8206 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1864, allocations: 0 / 0.8206 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1864, allocations: 0 / 0.8206 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.1865, allocations: 11.98 kB / 0.8206 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1865, allocations: 0 / 0.8206 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.1865, allocations: 12.02 kB / 0.8206 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1865, allocations: 0 / 0.8206 GB, free: 1.137 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.368e-05/0.1866, allocations: 117.8 kB / 0.8208 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1866, allocations: 0 / 0.8208 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.1868, allocations: 76.72 kB / 0.8208 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.1868, allocations: 3.984 kB / 0.8208 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1868, allocations: 4.031 kB / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1868, allocations: 0 / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.187, allocations: 161.6 kB / 0.821 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.187, allocations: 0 / 0.821 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.1871, allocations: 11.98 kB / 0.821 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1871, allocations: 0 / 0.821 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.1871, allocations: 3.938 kB / 0.821 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1871, allocations: 256 / 0.821 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1871, allocations: 4 kB / 0.821 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1873, allocations: 171.4 kB / 0.8212 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.1874, allocations: 85.05 kB / 0.8213 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1874, allocations: 0 / 0.8213 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.1874, allocations: 11.92 kB / 0.8213 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1875, allocations: 0 / 0.8213 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1875, allocations: 0 / 0.8213 GB, free: 412 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.1875, allocations: 91.25 kB / 0.8214 GB, free: 320 kB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1875, allocations: 0 / 0.8214 GB, free: 320 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002159/0.1878, allocations: 11.98 kB / 0.8214 GB, free: 308 kB / 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.0005908/0.1883, allocations: 0.6968 MB / 0.822 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1886, allocations: 36 kB / 0.8221 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1886, allocations: 0 / 0.8221 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-05/0.1886, allocations: 27.91 kB / 0.8221 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.189, allocations: 4 kB / 0.8221 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.1894, allocations: 135.3 kB / 0.8222 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1897, allocations: 0.6768 MB / 0.8229 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.1897, allocations: 4 kB / 0.8229 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.1897, allocations: 11.44 kB / 0.8229 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.1897, allocations: 0 / 0.8229 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.2132, allocations: 1.446 MB / 0.8243 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.211, allocations: 7.797 kB / 0.8243 GB, free: 13.27 MB / 0.5762 GB " [Timeout remaining time 652] (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: 12.498010345734656] Failed to read output from testmodel.py, exit status != 0: 8.279492049012333 8.295211942 8.10906599 Calling exit ...