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.0009439/0.0009439, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009773/0.0009773, allocations: 169 kB / 23.49 MB, free: 1.059 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.9955/0.9955, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.001721/0.001721, allocations: 233.6 kB / 260.5 MB, free: 12.87 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.7762/0.7762, allocations: 138.4 MB / 455.4 MB, free: 30.01 MB / 410.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.462e-06/1.462e-06, allocations: 0 / 0.5551 GB, free: 428 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.306e-05, allocations: 2.312 kB / 0.5551 GB, free: 424 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0009683/0.0009813, allocations: 0.6011 MB / 0.5557 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.001997, allocations: 1.17 MB / 0.5568 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.002022, allocations: 3.938 kB / 0.5568 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.002037, allocations: 3.938 kB / 0.5568 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.002242, allocations: 19.91 kB / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.875e-06/0.002245, allocations: 0 / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.65e-05/0.002281, allocations: 0 / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.002316, allocations: 8 kB / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.002335, allocations: 0 / 0.5568 GB, free: 14.59 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.334e-05/0.002359, allocations: 7.938 kB / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.002366, allocations: 0 / 0.5568 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.334e-05/0.00245, allocations: 11.98 kB / 0.5569 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.928e-06/0.00246, allocations: 4 kB / 0.5569 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.528e-06/0.002469, allocations: 0 / 0.5569 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.894e-05/0.002538, allocations: 23.84 kB / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00254, allocations: 0 / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002541, allocations: 0 / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.002544, allocations: 0 / 0.5569 GB, free: 14.54 MB / 490.7 MB 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.0002062/0.00275, allocations: 352.3 kB / 0.5572 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.002782, allocations: 8.75 kB / 0.5572 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.002816, allocations: 8.938 kB / 0.5572 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.541e-05/0.002871, allocations: 108.6 kB / 0.5573 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.002881, allocations: 384 / 0.5573 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.002901, allocations: 384 / 0.5573 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.354e-05/0.002975, allocations: 34.25 kB / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.002984, allocations: 4.188 kB / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.002991, allocations: 384 / 0.5574 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.002998, allocations: 3.938 kB / 0.5574 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.003026, allocations: 8 kB / 0.5574 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.003128, allocations: 112.7 kB / 0.5575 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.003272, allocations: 43 kB / 0.5575 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.003291, allocations: 19.75 kB / 0.5576 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.953e-05/0.003381, allocations: 4 kB / 0.5576 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.003399, allocations: 33.39 kB / 0.5576 GB, free: 13.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.0034, allocations: 0 / 0.5576 GB, free: 13.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.001039/0.004439, allocations: 278.4 kB / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.004466, allocations: 51.41 kB / 0.5579 GB, free: 13.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.73e-05/0.004503, allocations: 150.2 kB / 0.5581 GB, free: 13.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.004516, allocations: 25.7 kB / 0.5581 GB, free: 13.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.004542, allocations: 126.9 kB / 0.5582 GB, free: 13.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.004574, allocations: 15.84 kB / 0.5582 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.004612, allocations: 23.38 kB / 0.5582 GB, free: 12.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.004707, allocations: 0.4884 MB / 0.5587 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.004745, allocations: 11.94 kB / 0.5587 GB, free: 12.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.004794, allocations: 31.05 kB / 0.5588 GB, free: 12.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.162e-05/0.004885, allocations: 47.06 kB / 0.5588 GB, free: 12.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.004886, allocations: 0 / 0.5588 GB, free: 12.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001254/0.005012, allocations: 69.5 kB / 0.5589 GB, free: 12.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.005025, allocations: 4 kB / 0.5589 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.005029, allocations: 8.094 kB / 0.5589 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.005043, allocations: 0 / 0.5589 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.005175, allocations: 31.92 kB / 0.5589 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.005182, allocations: 0 / 0.5589 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.005276, allocations: 23.98 kB / 0.5589 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.005284, allocations: 4 kB / 0.5589 GB, free: 12.22 MB / 490.7 MB 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 7.063e-05/0.005355, allocations: 156.6 kB / 0.5591 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.005372, allocations: 11.94 kB / 0.5591 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.005553, allocations: 85.23 kB / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.005555, allocations: 0 / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.005559, allocations: 3.938 kB / 0.5592 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.005563, allocations: 0 / 0.5592 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.005869, allocations: 305.7 kB / 0.5595 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.00587, allocations: 0 / 0.5595 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.005985, allocations: 35.91 kB / 0.5595 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.005988, allocations: 7.938 kB / 0.5595 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.006, allocations: 0 / 0.5595 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006001, allocations: 0 / 0.5595 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006002, allocations: 0 / 0.5595 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.006162, allocations: 203.9 kB / 0.5597 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.006168, allocations: 3.953 kB / 0.5597 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.006186, allocations: 7.922 kB / 0.5597 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.00629, allocations: 20 kB / 0.5597 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.006306, allocations: 7.984 kB / 0.5597 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.006312, allocations: 4 kB / 0.5597 GB, free: 11.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.611e-05/0.006339, allocations: 119.2 kB / 0.5599 GB, free: 11.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006339, allocations: 0 / 0.5599 GB, free: 11.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.006502, allocations: 12 kB / 0.5599 GB, free: 11.18 MB / 490.7 MB 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.000119/0.006621, allocations: 107.1 kB / 0.56 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.006759, allocations: 35.67 kB / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.006761, allocations: 0 / 0.56 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.006806, allocations: 27.8 kB / 0.56 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.006961, allocations: 8 kB / 0.56 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.007268, allocations: 136.8 kB / 0.5602 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.998e-05/0.007298, allocations: 51.36 kB / 0.5602 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.007405, allocations: 27.91 kB / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.007452, allocations: 20.48 kB / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007452, allocations: 0 / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of Templates: time 0.002328/0.00978, allocations: 0.8644 MB / 0.5611 GB, free: 9.875 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7629973450675607]