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.001342/0.001342, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001389/0.001389, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002427/0.002427, allocations: 281.1 kB / 309.8 MB, free: 3.547 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.082/1.082, allocations: 180.6 MB / 0.5338 GB, free: 12.45 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",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.002809/0.002809, allocations: 106 kB / 0.7347 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5849, allocations: 95.34 MB / 0.8278 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002885/0.5878, allocations: 1.469 MB / 0.8292 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008206/0.5886, allocations: 0.5073 MB / 0.8297 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.5886, allocations: 0 / 0.8297 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.5887, allocations: 3.938 kB / 0.8297 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.5887, allocations: 11.56 kB / 0.8297 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.589, allocations: 18.27 kB / 0.8297 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.475e-05/0.589, allocations: 26.72 kB / 0.8298 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.5891, allocations: 4.5 kB / 0.8298 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.5892, allocations: 16.23 kB / 0.8298 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.5892, allocations: 15.34 kB / 0.8298 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.5892, allocations: 4 kB / 0.8298 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.5893, allocations: 19.88 kB / 0.8298 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.5893, allocations: 9.156 kB / 0.8298 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.5894, allocations: 3.938 kB / 0.8298 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.5895, allocations: 34.52 kB / 0.8299 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5895, allocations: 0 / 0.8299 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5895, allocations: 0 / 0.8299 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.5895, allocations: 0 / 0.8299 GB, free: 1.609 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.0004031/0.5899, allocations: 341.2 kB / 0.8302 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.5899, allocations: 14 kB / 0.8302 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.844e-05/0.5899, allocations: 3 kB / 0.8302 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.89e-05/0.5899, allocations: 35.25 kB / 0.8302 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.59, allocations: 5.5 kB / 0.8303 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.385e-05/0.5901, allocations: 172.1 kB / 0.8304 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5901, allocations: 5.312 kB / 0.8304 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.5901, allocations: 3.156 kB / 0.8304 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.5902, allocations: 50.38 kB / 0.8305 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5903, allocations: 4 kB / 0.8305 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.5903, allocations: 3.062 kB / 0.8305 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5903, allocations: 0.8438 kB / 0.8305 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.5904, allocations: 30.84 kB / 0.8305 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.5907, allocations: 252 kB / 0.8307 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.5908, allocations: 43.14 kB / 0.8308 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.5909, allocations: 20.34 kB / 0.8308 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.591, allocations: 83.36 kB / 0.8309 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.591, allocations: 31.12 kB / 0.8309 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.591, allocations: 0 / 0.8309 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003615/0.5914, allocations: 92.66 kB / 0.831 GB, free: 456 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5914, allocations: 52.81 kB / 0.8311 GB, free: 392 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.4e-05/0.5915, allocations: 106.8 kB / 0.8312 GB, free: 284 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.537e-06/0.5915, allocations: 25.7 kB / 0.8312 GB, free: 252 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.5915, allocations: 82.98 kB / 0.8313 GB, free: 168 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.5916, allocations: 4.656 kB / 0.8313 GB, free: 164 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.5916, allocations: 17.25 kB / 0.8313 GB, free: 144 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5917, allocations: 321.8 kB / 0.8316 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.5918, allocations: 18.02 kB / 0.8316 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.5919, allocations: 13.16 kB / 0.8316 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.5921, allocations: 40.77 kB / 0.8317 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5921, allocations: 0 / 0.8317 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002078/0.5923, allocations: 73.25 kB / 0.8317 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5923, allocations: 5.375 kB / 0.8317 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5923, allocations: 3.984 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5923, allocations: 2.656 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.5924, allocations: 8.453 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5924, allocations: 0 / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.5924, allocations: 7.219 kB / 0.8318 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.5924, allocations: 0 / 0.8318 GB, free: 15.75 MB / 0.5919 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.869e-05/0.5925, allocations: 117.2 kB / 0.8319 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.5926, allocations: 9.078 kB / 0.8319 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.5928, allocations: 80.94 kB / 0.832 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5928, allocations: 0 / 0.832 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5928, allocations: 0.7969 kB / 0.832 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5928, allocations: 0 / 0.832 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.593, allocations: 160.7 kB / 0.8321 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.593, allocations: 4.031 kB / 0.8321 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.5931, allocations: 9.156 kB / 0.8321 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5931, allocations: 0.6562 kB / 0.8321 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.5931, allocations: 1.406 kB / 0.8321 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.5931, allocations: 0 / 0.8321 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5931, allocations: 0.6562 kB / 0.8321 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.5933, allocations: 167.8 kB / 0.8323 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.5934, allocations: 80.23 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5934, allocations: 0.5625 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.5935, allocations: 4.656 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.5935, allocations: 3.828 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.5935, allocations: 4.5 kB / 0.8324 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.5936, allocations: 84.52 kB / 0.8325 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5936, allocations: 0 / 0.8325 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000219/0.5938, allocations: 9.438 kB / 0.8325 GB, free: 15.05 MB / 0.5919 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.0005938/0.5944, allocations: 0.7059 MB / 0.8332 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.5946, allocations: 40.14 kB / 0.8332 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5946, allocations: 0 / 0.8332 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.5947, allocations: 23.59 kB / 0.8332 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.595, allocations: 8.234 kB / 0.8332 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004468/0.5954, allocations: 145.7 kB / 0.8334 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.5957, allocations: 0.6769 MB / 0.834 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.5957, allocations: 5.812 kB / 0.834 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.5958, allocations: 11.56 kB / 0.834 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5958, allocations: 0 / 0.834 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.6126, allocations: 1.489 MB / 0.8355 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.64, allocations: 10.47 kB / 0.8355 GB, free: 13.09 MB / 0.5919 GB " [Timeout remaining time 651] (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.731941918027587] Failed to read output from testmodel.py, exit status != 0: 8.765558533952571 8.787568498 8.194155947 Calling exit ...