Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001175/0.001175, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001669/0.001669, allocations: 210.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.041/1.041, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.972/1.972, allocations: 0.5046 GB / 0.8104 GB, free: 2.762 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 67.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/0.8213, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002133/0.8234, allocations: 1.457 MB / 1.354 GB, free: 196 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0006494/0.8241, allocations: 470.9 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.8241, allocations: 0 / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.8241, allocations: 0 / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.8242, allocations: 11.94 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.8244, allocations: 19.92 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.8245, allocations: 27.92 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.8246, allocations: 3.984 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.8246, allocations: 15.92 kB / 1.354 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.8247, allocations: 11.98 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.8247, allocations: 4 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.8248, allocations: 8 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.8248, allocations: 11.92 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.8248, allocations: 12 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.8249, allocations: 38.08 kB / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8249, allocations: 0 / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8249, allocations: 0 / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.8249, allocations: 0 / 1.354 GB, free: 15.57 MB / 1.042 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.0003461/0.8253, allocations: 271.9 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8253, allocations: 12.92 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.322e-05/0.8253, allocations: 34.75 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.8255, allocations: 16.91 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.699e-05/0.8256, allocations: 106.5 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.8256, allocations: 8.375 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.8256, allocations: 4.375 kB / 1.355 GB, free: 15.06 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.8258, allocations: 57.78 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.8258, allocations: 0 / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.8258, allocations: 3.938 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8258, allocations: 4 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.087e-05/0.8259, allocations: 35.91 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.8262, allocations: 227.9 kB / 1.355 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.94e-05/0.8263, allocations: 42.59 kB / 1.355 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.8263, allocations: 24.91 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.8263, allocations: 0 / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.8264, allocations: 30.56 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8264, allocations: 0 / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0002467/0.8266, allocations: 89.7 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.8266, allocations: 59.39 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.827, allocations: 101.9 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.827, allocations: 25.7 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.8271, allocations: 84.14 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.8271, allocations: 11.94 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.8271, allocations: 9.719 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.8272, allocations: 322.8 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.8272, allocations: 15.98 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.8273, allocations: 23.97 kB / 1.356 GB, free: 13.79 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-05/0.8274, allocations: 44.77 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8274, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001123/0.8275, allocations: 69.66 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8275, allocations: 8 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8275, allocations: 0 / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8275, allocations: 4.094 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.8276, allocations: 11.98 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8276, allocations: 0 / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.8276, allocations: 7.984 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.8276, allocations: 0 / 1.356 GB, free: 13.64 MB / 1.042 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 5.619e-05/0.8277, allocations: 114.3 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.8277, allocations: 3.953 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.8277, allocations: 7.312 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8277, allocations: 0 / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8277, allocations: 11.94 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8277, allocations: 256 / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.8279, allocations: 132.6 kB / 1.356 GB, free: 13.33 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.8279, allocations: 4 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.8279, allocations: 15.92 kB / 1.356 GB, free: 13.31 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8279, allocations: 0 / 1.356 GB, free: 13.31 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.8279, allocations: 0 / 1.356 GB, free: 13.31 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8279, allocations: 0 / 1.356 GB, free: 13.31 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8279, allocations: 4 kB / 1.356 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.8281, allocations: 167.5 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.8281, allocations: 7.984 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.8281, allocations: 3.984 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.8281, allocations: 4 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.8282, allocations: 3.984 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.8282, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.8282, allocations: 87.28 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8282, allocations: 0 / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001427/0.8283, allocations: 4 kB / 1.357 GB, free: 13.02 MB / 1.042 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.0003369/0.8287, allocations: 0.7045 MB / 1.357 GB, free: 12.28 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.8288, allocations: 39.95 kB / 1.357 GB, free: 12.24 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8288, allocations: 0 / 1.357 GB, free: 12.24 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.8289, allocations: 23.92 kB / 1.357 GB, free: 12.22 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.8291, allocations: 12.14 kB / 1.357 GB, free: 12.21 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.8295, allocations: 143.1 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.8296, allocations: 59.34 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.986e-05/0.8296, allocations: 8 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.8296, allocations: 7.438 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of SimCode: time 8.52e-07/0.8296, allocations: 0 / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08732/0.917, allocations: 1.966 MB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/8.15, allocations: 12.94 kB / 1.36 GB, free: 10.09 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothHeaviside_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.192974230274558]