Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0013/0.0013, allocations: 78.5 kB / 19 MB, free: 2.871 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.001561/0.001561, allocations: 159.1 kB / 22.25 MB, free: 5.137 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.357/1.357, allocations: 177.2 MB / 202.6 MB, free: 9.266 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.002314/0.002314, allocations: 242 kB / 259.3 MB, free: 0.5781 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.004/1.004, allocations: 138.5 MB / 454.2 MB, free: 2.035 MB / 366.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [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.002897/0.002897, allocations: 110.8 kB / 0.6466 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.4006, allocations: 95.35 MB / 0.7398 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001718/0.4023, allocations: 0.5987 MB / 0.7403 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.4037, allocations: 1.13 MB / 0.7414 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.4037, allocations: 0 / 0.7414 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.4037, allocations: 0 / 0.7414 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.404, allocations: 23.86 kB / 0.7415 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.404, allocations: 4 kB / 0.7415 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.895e-05/0.404, allocations: 3.938 kB / 0.7415 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.4041, allocations: 4 kB / 0.7415 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.448e-05/0.4041, allocations: 4 kB / 0.7415 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.316e-05/0.4041, allocations: 7.969 kB / 0.7415 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.4041, allocations: 0 / 0.7415 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.997e-05/0.4042, allocations: 15.94 kB / 0.7415 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.4042, allocations: 0 / 0.7415 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.189e-05/0.4042, allocations: 3.938 kB / 0.7415 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.565e-05/0.4043, allocations: 15.97 kB / 0.7415 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4043, allocations: 0 / 0.7415 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4043, allocations: 0 / 0.7415 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.4043, allocations: 0 / 0.7415 GB, free: 13.37 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.000302/0.4046, allocations: 255.5 kB / 0.7418 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4047, allocations: 12.75 kB / 0.7418 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.4047, allocations: 0.9375 kB / 0.7418 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.49e-05/0.4048, allocations: 102.5 kB / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.4048, allocations: 4.375 kB / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.4048, allocations: 4.375 kB / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.4049, allocations: 45.94 kB / 0.7419 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4049, allocations: 3.938 kB / 0.7419 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.4049, allocations: 0 / 0.7419 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4049, allocations: 0 / 0.7419 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.405, allocations: 7.984 kB / 0.7419 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.4051, allocations: 105.3 kB / 0.742 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.4053, allocations: 30.61 kB / 0.7421 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.4053, allocations: 16.8 kB / 0.7421 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.4054, allocations: 4 kB / 0.7421 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4055, allocations: 30.56 kB / 0.7421 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4055, allocations: 0 / 0.7421 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004214/0.4097, allocations: 0.5794 MB / 0.7427 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4097, allocations: 55.41 kB / 0.7427 GB, free: 12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.4098, allocations: 93.86 kB / 0.7428 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4098, allocations: 29.69 kB / 0.7429 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.4098, allocations: 80.14 kB / 0.7429 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.4099, allocations: 15.84 kB / 0.743 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.4099, allocations: 21.72 kB / 0.743 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4101, allocations: 314.8 kB / 0.7433 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.4107, allocations: 83.95 kB / 0.7434 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.4113, allocations: 98.53 kB / 0.7434 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.4125, allocations: 194.4 kB / 0.7436 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4125, allocations: 4 kB / 0.7436 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001239/0.4137, allocations: 209.6 kB / 0.7438 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4137, allocations: 12 kB / 0.7438 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4137, allocations: 0 / 0.7438 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4138, allocations: 4 kB / 0.7438 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.4142, allocations: 47.97 kB / 0.7439 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.4142, allocations: 0 / 0.7439 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.4145, allocations: 39.98 kB / 0.7439 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.4145, allocations: 11.98 kB / 0.7439 GB, free: 10.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.816e-05/0.4146, allocations: 109.8 kB / 0.744 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.4146, allocations: 7.938 kB / 0.7441 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.416, allocations: 233.2 kB / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.416, allocations: 0 / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.416, allocations: 4 kB / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.416, allocations: 0 / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.4175, allocations: 406.2 kB / 0.7447 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4175, allocations: 8.062 kB / 0.7447 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.4179, allocations: 47.97 kB / 0.7447 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4179, allocations: 0 / 0.7447 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.4179, allocations: 4 kB / 0.7447 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4179, allocations: 0 / 0.7447 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4179, allocations: 3.938 kB / 0.7447 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.4191, allocations: 311.3 kB / 0.745 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-06/0.4191, allocations: 4 kB / 0.745 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.4192, allocations: 0 / 0.745 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.4195, allocations: 47.91 kB / 0.7451 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.4195, allocations: 0 / 0.7451 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4196, allocations: 4 kB / 0.7451 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.4196, allocations: 79.28 kB / 0.7452 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4196, allocations: 0 / 0.7452 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002487/0.4198, allocations: 8 kB / 0.7452 GB, free: 9.379 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 (5): * Single equations (assignments): 5 * 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.0001749/0.42, allocations: 103.2 kB / 0.7453 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.4213, allocations: 183.9 kB / 0.7454 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4213, allocations: 0 / 0.7454 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005942/0.4219, allocations: 88.08 kB / 0.7455 GB, free: 9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.4221, allocations: 11.92 kB / 0.7455 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.4232, allocations: 212.9 kB / 0.7457 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.712e-05/0.4233, allocations: 63.34 kB / 0.7458 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.4234, allocations: 31.98 kB / 0.7458 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.4235, allocations: 8.5 kB / 0.7458 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/0.4235, allocations: 0 / 0.7458 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of Templates: time 0.003144/0.4266, allocations: 0.82 MB / 0.7466 GB, free: 7.828 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.469812843948603] Failed to read output from testmodel.py, exit status != 0: 0.43465653248131275 0.44864118100000006 0.041399791000000005 Calling exit ...