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.001346/0.001346, allocations: 80.52 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001043/0.001043, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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 0.9213/0.9213, allocations: 177.2 MB / 203.6 MB, free: 5.734 MB / 186.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.748/1.748, allocations: 389.6 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.813e-06/1.813e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.3e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001853/0.001876, allocations: 1.468 MB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006801/0.002556, allocations: 471.6 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.002593, allocations: 0 / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.002618, allocations: 3.938 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.014e-05/0.002678, allocations: 11.92 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.002879, allocations: 23.86 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.002946, allocations: 27.92 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.003034, allocations: 0 / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.003109, allocations: 23.92 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.887e-05/0.003138, allocations: 0 / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.003156, allocations: 7.984 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.007e-05/0.003216, allocations: 15.98 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.003229, allocations: 4 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.003247, allocations: 15.92 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.003353, allocations: 31.95 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003356, allocations: 0 / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003357, allocations: 0 / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003361, allocations: 0 / 1.003 GB, free: 11.45 MB / 0.9636 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.0003234/0.003684, allocations: 266.3 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.003724, allocations: 13.28 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.003758, allocations: 34.73 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.003927, allocations: 12.92 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.004008, allocations: 117.7 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.004019, allocations: 4.375 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.004027, allocations: 384 / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.004153, allocations: 62.22 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.00416, allocations: 4.125 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004169, allocations: 4.125 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.004173, allocations: 0 / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.075e-05/0.004264, allocations: 31.97 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.00456, allocations: 227.9 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/0.004648, allocations: 46.56 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.004698, allocations: 24.84 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.004713, allocations: 0 / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.00473, allocations: 34.56 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.004732, allocations: 0 / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002225/0.004954, allocations: 89.66 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.004981, allocations: 59.44 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/0.005038, allocations: 101.9 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.005049, allocations: 25.7 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.005088, allocations: 88.14 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.005106, allocations: 7.938 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.005132, allocations: 13.72 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.005208, allocations: 314.8 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.005254, allocations: 15.98 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.005295, allocations: 23.98 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.411e-05/0.005379, allocations: 44.83 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005381, allocations: 0 / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001105/0.005491, allocations: 77.48 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.005505, allocations: 4 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.005509, allocations: 0 / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.005521, allocations: 96 / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.426e-05/0.005595, allocations: 15.98 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.0056, allocations: 0 / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.005631, allocations: 7.984 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.005637, allocations: 4 kB / 1.004 GB, free: 9.516 MB / 0.9636 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.555e-05/0.005693, allocations: 112.5 kB / 1.005 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.005706, allocations: 3.938 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.005741, allocations: 7.312 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005742, allocations: 0 / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.005747, allocations: 4 kB / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.00575, allocations: 3.938 kB / 1.005 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.005855, allocations: 128.8 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.005857, allocations: 3.938 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.005894, allocations: 7.984 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005895, allocations: 4 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.005903, allocations: 4 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005904, allocations: 0 / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.005905, allocations: 0 / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.006052, allocations: 171.5 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.00606, allocations: 11.89 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.006073, allocations: 7.969 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.006117, allocations: 7.938 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.006151, allocations: 7.984 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.006154, allocations: 0 / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.006183, allocations: 87.53 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006183, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001424/0.006325, allocations: 4 kB / 1.005 GB, free: 8.879 MB / 0.9636 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.0003256/0.006651, allocations: 0.7007 MB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.006776, allocations: 35.95 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.006777, allocations: 4 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.006827, allocations: 19.98 kB / 1.006 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.007059, allocations: 17.72 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.007384, allocations: 142.4 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.811e-05/0.007442, allocations: 63.34 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.00747, allocations: 4 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.007508, allocations: 16.5 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.007509, allocations: 0 / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07991/0.08742, allocations: 2.074 MB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.154, allocations: 7.562 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.533316717483103]