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.001318/0.001318, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001581/0.001581, allocations: 210 kB / 22.24 MB, free: 5.262 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.793 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.002526/0.002526, allocations: 285.2 kB / 312.7 MB, free: 2.609 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.244/1.244, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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="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: 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.003313/0.003313, allocations: 97.86 kB / 0.7395 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.19, allocations: 95.38 MB / 0.8326 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.003164/0.1932, allocations: 1.474 MB / 0.8341 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1943, allocations: 473.5 kB / 0.8345 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.1943, allocations: 0 / 0.8345 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.1943, allocations: 3.984 kB / 0.8345 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.96e-05/0.1944, allocations: 11.92 kB / 0.8345 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1946, allocations: 19.92 kB / 0.8346 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.1947, allocations: 27.86 kB / 0.8346 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1948, allocations: 8 kB / 0.8346 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.1949, allocations: 4 kB / 0.8346 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.195, allocations: 11.92 kB / 0.8346 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.195, allocations: 8 kB / 0.8346 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.195, allocations: 15.97 kB / 0.8346 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.1951, allocations: 8 kB / 0.8346 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.1951, allocations: 7.938 kB / 0.8347 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1952, allocations: 40.05 kB / 0.8347 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.1952, allocations: 3.984 kB / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1952, allocations: 0 / 0.8347 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1952, allocations: 0 / 0.8347 GB, free: 6.16 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.0004746/0.1957, allocations: 266.3 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1958, allocations: 9.938 kB / 0.835 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.1958, allocations: 38.75 kB / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.1958, allocations: 8.891 kB / 0.835 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1959, allocations: 102.5 kB / 0.8351 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.196, allocations: 384 / 0.8351 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.196, allocations: 4.375 kB / 0.8351 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1962, allocations: 53.8 kB / 0.8352 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1962, allocations: 0 / 0.8352 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1962, allocations: 3.938 kB / 0.8352 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1962, allocations: 0 / 0.8352 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1963, allocations: 43.89 kB / 0.8352 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.1967, allocations: 216 kB / 0.8354 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1968, allocations: 38.59 kB / 0.8354 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.1969, allocations: 24.91 kB / 0.8355 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.197, allocations: 7.984 kB / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.197, allocations: 30.56 kB / 0.8355 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 2.865e-06/0.197, allocations: 7.922 kB / 0.8355 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003821/0.1974, allocations: 85.61 kB / 0.8356 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.1975, allocations: 55.39 kB / 0.8357 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/0.1976, allocations: 101.9 kB / 0.8357 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.1976, allocations: 25.7 kB / 0.8358 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.1976, allocations: 80.14 kB / 0.8358 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1977, allocations: 15.88 kB / 0.8359 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.1977, allocations: 17.66 kB / 0.8359 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1978, allocations: 314.8 kB / 0.8362 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.1979, allocations: 24.11 kB / 0.8362 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.198, allocations: 11.98 kB / 0.8362 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.1982, allocations: 48.75 kB / 0.8363 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1982, allocations: 0 / 0.8363 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002053/0.1984, allocations: 69.72 kB / 0.8363 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1984, allocations: 4 kB / 0.8363 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1984, allocations: 0 / 0.8363 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1984, allocations: 0 / 0.8363 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.1985, allocations: 8 kB / 0.8363 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1985, allocations: 3.984 kB / 0.8363 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.1986, allocations: 4 kB / 0.8363 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-06/0.1986, allocations: 0 / 0.8363 GB, free: 4.277 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 9.201e-05/0.1987, allocations: 114.4 kB / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.1987, allocations: 7.953 kB / 0.8365 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1989, allocations: 80.92 kB / 0.8365 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1989, allocations: 0 / 0.8365 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.199, allocations: 0 / 0.8365 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.199, allocations: 0 / 0.8365 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.1991, allocations: 128.7 kB / 0.8367 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1991, allocations: 0 / 0.8367 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.1992, allocations: 8 kB / 0.8367 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1992, allocations: 0 / 0.8367 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1992, allocations: 8.016 kB / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1992, allocations: 0 / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1992, allocations: 0 / 0.8367 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1995, allocations: 175.3 kB / 0.8368 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.1995, allocations: 256 / 0.8368 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.1995, allocations: 0 / 0.8368 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.1996, allocations: 8 kB / 0.8369 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.1997, allocations: 7.984 kB / 0.8369 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1997, allocations: 4 kB / 0.8369 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.587e-05/0.1997, allocations: 83.31 kB / 0.8369 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1997, allocations: 0 / 0.8369 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002358/0.2, allocations: 4 kB / 0.8369 GB, free: 3.582 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.0006989/0.2006, allocations: 0.7102 MB / 0.8376 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.2009, allocations: 43.94 kB / 0.8377 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2009, allocations: 0 / 0.8377 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.201, allocations: 15.98 kB / 0.8377 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.2013, allocations: 7.984 kB / 0.8377 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.2018, allocations: 143.3 kB / 0.8378 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.2019, allocations: 59.34 kB / 0.8379 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.2019, allocations: 4 kB / 0.8379 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.202, allocations: 7.562 kB / 0.8379 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of SimCode: time 4.4e-07/0.202, allocations: 4 kB / 0.8379 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.2339, allocations: 1.991 MB / 0.8399 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.31, allocations: 15.7 kB / 0.8399 GB, free: 0.6445 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.571612438187003] Failed to read output from testmodel.py, exit status != 0: 11.413820424117148 11.429921326 11.231565461 Calling exit ...