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.001278/0.001278, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001331/0.001331, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.35/1.35, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] 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.002354/0.002354, allocations: 245.4 kB / 260 MB, free: 436 kB / 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 0.8933/0.8933, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") [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.002984/0.002984, allocations: 104.2 kB / 0.6473 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3856, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.00214/0.3877, allocations: 1.454 MB / 0.7419 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0006648/0.3884, allocations: 488.1 kB / 0.7423 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.3884, allocations: 0 / 0.7423 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.096e-05/0.3884, allocations: 0.5625 kB / 0.7423 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.3885, allocations: 6 kB / 0.7423 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.3887, allocations: 27.67 kB / 0.7424 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.3887, allocations: 28.19 kB / 0.7424 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.3888, allocations: 8.172 kB / 0.7424 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.973e-05/0.3888, allocations: 10.22 kB / 0.7424 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.3889, allocations: 13.55 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3889, allocations: 2.75 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.3889, allocations: 15.69 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.389, allocations: 2.328 kB / 0.7425 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.389, allocations: 10.59 kB / 0.7425 GB, free: 16.06 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 9.153e-05/0.3891, allocations: 29.78 kB / 0.7425 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3891, allocations: 1.375 kB / 0.7425 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3891, allocations: 0.6562 kB / 0.7425 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.3891, allocations: 0 / 0.7425 GB, free: 16.05 MB / 0.5919 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.0003188/0.3894, allocations: 274.1 kB / 0.7428 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.3894, allocations: 11.09 kB / 0.7428 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.3895, allocations: 6.203 kB / 0.7428 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.114e-05/0.3895, allocations: 118.5 kB / 0.7429 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3895, allocations: 1.875 kB / 0.7429 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.3895, allocations: 4.312 kB / 0.7429 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3897, allocations: 54.31 kB / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3897, allocations: 0 / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.3897, allocations: 0 / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.3897, allocations: 1.781 kB / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3899, allocations: 36.5 kB / 0.743 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.3901, allocations: 196.3 kB / 0.7432 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3902, allocations: 40.09 kB / 0.7432 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.3903, allocations: 24.25 kB / 0.7432 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.72e-05/0.3904, allocations: 5.328 kB / 0.7432 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.3904, allocations: 31.78 kB / 0.7433 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3904, allocations: 5.312 kB / 0.7433 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003286/0.3907, allocations: 88.64 kB / 0.7433 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.3907, allocations: 51.41 kB / 0.7434 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.3908, allocations: 104.1 kB / 0.7435 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.3908, allocations: 25.7 kB / 0.7435 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.3908, allocations: 85.39 kB / 0.7436 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3908, allocations: 5.844 kB / 0.7436 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.3909, allocations: 17.84 kB / 0.7436 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.3909, allocations: 317.3 kB / 0.7439 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.391, allocations: 18.28 kB / 0.7439 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.3911, allocations: 14.83 kB / 0.744 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3912, allocations: 37.75 kB / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3912, allocations: 4 kB / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001921/0.3914, allocations: 80.39 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3914, allocations: 5.562 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3914, allocations: 0 / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3914, allocations: 1.484 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.206e-05/0.3915, allocations: 8.625 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3915, allocations: 0.6562 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.3916, allocations: 7.141 kB / 0.7441 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3916, allocations: 0 / 0.7441 GB, free: 14.55 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 5.344e-05/0.3916, allocations: 117.3 kB / 0.7442 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.3917, allocations: 5.391 kB / 0.7442 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.3919, allocations: 79.55 kB / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3919, allocations: 1.844 kB / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3919, allocations: 0.5156 kB / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3919, allocations: 0 / 0.7443 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.392, allocations: 109.4 kB / 0.7444 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.392, allocations: 4.734 kB / 0.7444 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.3921, allocations: 13.52 kB / 0.7444 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3921, allocations: 0.7969 kB / 0.7444 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3921, allocations: 3.938 kB / 0.7444 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3921, allocations: 0 / 0.7444 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3921, allocations: 1.75 kB / 0.7444 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.3923, allocations: 159.4 kB / 0.7446 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.3923, allocations: 7.094 kB / 0.7446 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3923, allocations: 0 / 0.7446 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.3924, allocations: 9.875 kB / 0.7446 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.3924, allocations: 7.438 kB / 0.7446 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.3924, allocations: 1.281 kB / 0.7446 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.874e-05/0.3925, allocations: 84.5 kB / 0.7447 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.3925, allocations: 3.938 kB / 0.7447 GB, free: 14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002264/0.3927, allocations: 10.94 kB / 0.7447 GB, free: 14 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.0001299/0.3928, allocations: 95.53 kB / 0.7448 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3931, allocations: 40.42 kB / 0.7448 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3931, allocations: 0 / 0.7448 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.915e-05/0.3932, allocations: 20.78 kB / 0.7448 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3935, allocations: 13.61 kB / 0.7449 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.3938, allocations: 107.1 kB / 0.745 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.3939, allocations: 60.12 kB / 0.745 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.3939, allocations: 1.734 kB / 0.745 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.3939, allocations: 13.97 kB / 0.745 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.3939, allocations: 1.469 kB / 0.745 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.002972/0.3969, allocations: 0.6102 MB / 0.7456 GB, free: 13.6 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.434920097934082] Failed to read output from testmodel.py, exit status != 0: 0.4044181240024045 0.414335368 0.022929588999999938 Calling exit ...