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.0007032/0.0007032, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007143/0.0007143, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8815/0.8815, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 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.00138/0.00138, allocations: 221.6 kB / 260.2 MB, free: 13.02 MB / 250.7 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.6603/0.6603, allocations: 138.4 MB / 455.1 MB, free: 1.645 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6476 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.666e-05, allocations: 2.281 kB / 0.6476 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00108/0.001107, allocations: 0.6033 MB / 0.6482 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.002077, allocations: 1.137 MB / 0.6493 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.002102, allocations: 1.469 kB / 0.6493 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.002118, allocations: 4 kB / 0.6493 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.002346, allocations: 11.19 kB / 0.6493 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.00235, allocations: 0 / 0.6493 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 3.836e-05/0.002388, allocations: 13.27 kB / 0.6493 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.002429, allocations: 1.156 kB / 0.6493 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.556e-05/0.002455, allocations: 5.141 kB / 0.6493 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.138e-05/0.002476, allocations: 1.281 kB / 0.6493 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.002485, allocations: 1.5 kB / 0.6493 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.002573, allocations: 18.89 kB / 0.6493 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.002583, allocations: 1.25 kB / 0.6493 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.075e-05/0.002594, allocations: 4 kB / 0.6493 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 7.411e-05/0.002668, allocations: 22.97 kB / 0.6494 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.00267, allocations: 0 / 0.6494 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002671, allocations: 0 / 0.6494 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.002674, allocations: 0 / 0.6494 GB, free: 27.3 MB / 0.5105 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.0001821/0.002856, allocations: 243.8 kB / 0.6496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.002893, allocations: 10.03 kB / 0.6496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.002922, allocations: 6.203 kB / 0.6496 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.388e-05/0.002956, allocations: 103.3 kB / 0.6497 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.002964, allocations: 1.844 kB / 0.6497 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.002985, allocations: 384 / 0.6497 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.332e-05/0.003058, allocations: 39.67 kB / 0.6498 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.003069, allocations: 8.109 kB / 0.6498 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.003077, allocations: 4.312 kB / 0.6498 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003083, allocations: 5.125 kB / 0.6498 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.003115, allocations: 3.875 kB / 0.6498 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.444e-05/0.003189, allocations: 100.2 kB / 0.6499 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.003338, allocations: 34.2 kB / 0.6499 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.003351, allocations: 11.77 kB / 0.6499 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/0.00344, allocations: 12.56 kB / 0.6499 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.103e-05/0.003451, allocations: 34.5 kB / 0.65 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.003451, allocations: 5.5 kB / 0.65 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.001806/0.005257, allocations: 0.5676 MB / 0.6505 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.005279, allocations: 56.88 kB / 0.6506 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.286e-05/0.005292, allocations: 89.86 kB / 0.6507 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.0053, allocations: 27.17 kB / 0.6507 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-06/0.005307, allocations: 80.14 kB / 0.6508 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.005339, allocations: 18.78 kB / 0.6508 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.005373, allocations: 17.98 kB / 0.6508 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.968e-05/0.005402, allocations: 320.2 kB / 0.6511 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.005641, allocations: 78.42 kB / 0.6512 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.005884, allocations: 108.8 kB / 0.6513 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.006348, allocations: 184.3 kB / 0.6515 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006349, allocations: 4 kB / 0.6515 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005014/0.00685, allocations: 213.2 kB / 0.6517 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.006863, allocations: 6.594 kB / 0.6517 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.006867, allocations: 0 / 0.6517 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.006878, allocations: 1.312 kB / 0.6517 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.007035, allocations: 54.78 kB / 0.6517 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.00704, allocations: 0 / 0.6517 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.007169, allocations: 42.75 kB / 0.6518 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.007178, allocations: 3.469 kB / 0.6518 GB, free: 25.57 MB / 0.5105 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 4.193e-05/0.00722, allocations: 112 kB / 0.6519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.007228, allocations: 1.531 kB / 0.6519 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/0.007799, allocations: 239.3 kB / 0.6521 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007801, allocations: 5.062 kB / 0.6521 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.007806, allocations: 3.938 kB / 0.6521 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007809, allocations: 3.984 kB / 0.6521 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.008439, allocations: 398.5 kB / 0.6525 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.00844, allocations: 7.938 kB / 0.6525 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.008585, allocations: 45 kB / 0.6525 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.008587, allocations: 9.25 kB / 0.6526 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.008596, allocations: 1.469 kB / 0.6526 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008597, allocations: 0 / 0.6526 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008598, allocations: 3.984 kB / 0.6526 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.009103, allocations: 295.1 kB / 0.6528 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-06/0.009107, allocations: 5.672 kB / 0.6528 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.009121, allocations: 9.594 kB / 0.6529 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.009263, allocations: 41.17 kB / 0.6529 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.009275, allocations: 2.625 kB / 0.6529 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.009282, allocations: 5.078 kB / 0.6529 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.127e-06/0.009291, allocations: 79.22 kB / 0.653 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.009291, allocations: 5.469 kB / 0.653 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001513/0.009442, allocations: 8.906 kB / 0.653 GB, free: 24.74 MB / 0.5105 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 9.078e-05/0.009533, allocations: 105.2 kB / 0.6531 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.01005, allocations: 177 kB / 0.6533 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01005, allocations: 0 / 0.6533 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.01029, allocations: 92.02 kB / 0.6533 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.01043, allocations: 7.469 kB / 0.6534 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.01095, allocations: 241.5 kB / 0.6536 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.01098, allocations: 65.08 kB / 0.6536 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.01103, allocations: 12.03 kB / 0.6537 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.01103, allocations: 0 / 0.6537 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.001703/0.01274, allocations: 1.118 MB / 0.6547 GB, free: 23.73 MB / 0.5105 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.125434617511928] Failed to read output from testmodel.py, exit status != 0: 0.016781765036284924 0.022603374000000002 0.018718170000000003 Calling exit ...