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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 191.5 kB / 22.85 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002461/0.002461, allocations: 280.1 kB / 307 MB, free: 8.371 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.167/1.167, allocations: 180.8 MB / 0.5304 GB, free: 14.35 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002692/0.002692, allocations: 104.8 kB / 0.7311 GB, free: 38.75 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1689, allocations: 94.19 MB / 0.8231 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0017/0.1706, allocations: 0.5991 MB / 0.8237 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.172, allocations: 1.116 MB / 0.8248 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.1721, allocations: 4 kB / 0.8248 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.1721, allocations: 0 / 0.8248 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.1723, allocations: 19.92 kB / 0.8248 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.417e-06/0.1723, allocations: 0 / 0.8248 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.69e-05/0.1723, allocations: 4 kB / 0.8248 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1724, allocations: 0 / 0.8248 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.783e-05/0.1724, allocations: 11.91 kB / 0.8248 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.324e-05/0.1724, allocations: 4 kB / 0.8248 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.1724, allocations: 0 / 0.8248 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.38e-05/0.1725, allocations: 15.94 kB / 0.8248 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.1725, allocations: 4 kB / 0.8248 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.044e-05/0.1725, allocations: 3.938 kB / 0.8248 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.411e-05/0.1726, allocations: 23.84 kB / 0.8249 GB, free: 60 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1726, allocations: 0 / 0.8249 GB, free: 60 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1726, allocations: 4 kB / 0.8249 GB, free: 56 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1726, allocations: 0 / 0.8249 GB, free: 56 kB / 0.5606 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.000275/0.1729, allocations: 238.4 kB / 0.8251 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1729, allocations: 8.625 kB / 0.8251 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.173, allocations: 4.938 kB / 0.8251 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.085e-05/0.173, allocations: 110.5 kB / 0.8252 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.173, allocations: 4.375 kB / 0.8252 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1731, allocations: 4.375 kB / 0.8252 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.193e-05/0.1732, allocations: 38 kB / 0.8253 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1732, allocations: 7.953 kB / 0.8253 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1732, allocations: 3.984 kB / 0.8253 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1732, allocations: 0 / 0.8253 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.529e-05/0.1732, allocations: 11.98 kB / 0.8253 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1734, allocations: 116.8 kB / 0.8254 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1736, allocations: 38.55 kB / 0.8254 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.1736, allocations: 8.859 kB / 0.8254 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.1737, allocations: 12.08 kB / 0.8255 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1737, allocations: 34.5 kB / 0.8255 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1737, allocations: 0 / 0.8255 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004058/0.1778, allocations: 0.5716 MB / 0.826 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.1778, allocations: 51.41 kB / 0.8261 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.644e-05/0.1779, allocations: 89.86 kB / 0.8262 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1779, allocations: 25.7 kB / 0.8262 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.178, allocations: 81.66 kB / 0.8263 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.19e-05/0.178, allocations: 27.73 kB / 0.8263 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.178, allocations: 17.7 kB / 0.8263 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1782, allocations: 314.8 kB / 0.8266 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.1787, allocations: 83.95 kB / 0.8267 GB, free: 14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.1793, allocations: 106.5 kB / 0.8268 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.1804, allocations: 186.5 kB / 0.827 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1804, allocations: 0 / 0.827 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001195/0.1816, allocations: 217.5 kB / 0.8272 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1816, allocations: 8 kB / 0.8272 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1816, allocations: 0 / 0.8272 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1816, allocations: 0 / 0.8272 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.182, allocations: 55.94 kB / 0.8273 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.182, allocations: 0 / 0.8273 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.1824, allocations: 43.97 kB / 0.8273 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1824, allocations: 3.938 kB / 0.8273 GB, free: 13.37 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 8.693e-05/0.1825, allocations: 118.5 kB / 0.8274 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.1825, allocations: 3.938 kB / 0.8274 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.1838, allocations: 233.1 kB / 0.8276 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.1838, allocations: 0 / 0.8276 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.1838, allocations: 0 / 0.8276 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.1838, allocations: 0 / 0.8276 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.1852, allocations: 433.7 kB / 0.8281 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1852, allocations: 4.062 kB / 0.8281 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.1856, allocations: 51.97 kB / 0.8281 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1856, allocations: 0 / 0.8281 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1856, allocations: 7.984 kB / 0.8281 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1856, allocations: 0 / 0.8281 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1856, allocations: 0 / 0.8281 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.1868, allocations: 311.3 kB / 0.8284 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.1868, allocations: 3.984 kB / 0.8284 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1869, allocations: 0 / 0.8284 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.1872, allocations: 39.98 kB / 0.8285 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.1872, allocations: 4.406 kB / 0.8285 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1872, allocations: 8 kB / 0.8285 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.067e-05/0.1873, allocations: 75.28 kB / 0.8285 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1873, allocations: 0 / 0.8285 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000257/0.1875, allocations: 11.94 kB / 0.8285 GB, free: 12.01 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.0001441/0.1877, allocations: 103.2 kB / 0.8286 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.1889, allocations: 183.8 kB / 0.8288 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.1889, allocations: 0 / 0.8288 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.1894, allocations: 92.08 kB / 0.8289 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.1896, allocations: 3.938 kB / 0.8289 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1907, allocations: 227.6 kB / 0.8291 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.191, allocations: 0.6846 MB / 0.8298 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001653/0.1912, allocations: 24 kB / 0.8298 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.1912, allocations: 7.438 kB / 0.8298 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1912, allocations: 0 / 0.8298 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of Templates: time 0.002802/0.194, allocations: 0.8426 MB / 0.8307 GB, free: 9.801 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.622767193002801] Failed to read output from testmodel.py, exit status != 0: 0.20124131299962755 0.215522813 0.040006989 Calling exit ...