Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001295/0.001295, 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.001388/0.001388, allocations: 185.3 kB / 22.85 MB, free: 5.648 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.467/1.467, 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.002654/0.002654, allocations: 291.1 kB / 307 MB, free: 8.367 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.212/1.212, allocations: 180.8 MB / 0.5304 GB, free: 14.59 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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 96.83 kB / 0.7311 GB, free: 38.72 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1716, allocations: 94.21 MB / 0.8231 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001925/0.1735, allocations: 0.6063 MB / 0.8237 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/0.174, allocations: 163.9 kB / 0.8239 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.174, allocations: 0 / 0.8239 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.174, allocations: 3.938 kB / 0.8239 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.262e-05/0.174, allocations: 4 kB / 0.8239 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.1744, allocations: 39.84 kB / 0.8239 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.42e-05/0.1745, allocations: 19.97 kB / 0.8239 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.1745, allocations: 4 kB / 0.8239 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.1745, allocations: 0 / 0.8239 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.1746, allocations: 15.92 kB / 0.8239 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1746, allocations: 0 / 0.8239 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.1747, allocations: 31.97 kB / 0.824 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.1748, allocations: 11.92 kB / 0.824 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.1748, allocations: 7.922 kB / 0.824 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1749, allocations: 39.89 kB / 0.824 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1749, allocations: 0 / 0.824 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.033e-06/0.1749, allocations: 0 / 0.824 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1749, allocations: 0 / 0.824 GB, free: 1.051 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004336/0.1754, allocations: 254.3 kB / 0.8243 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1754, allocations: 12.62 kB / 0.8243 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1755, allocations: 0.9375 kB / 0.8243 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1756, allocations: 110.5 kB / 0.8244 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.1756, allocations: 384 / 0.8244 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.1756, allocations: 8.375 kB / 0.8244 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1757, allocations: 46.19 kB / 0.8244 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1757, allocations: 4.125 kB / 0.8245 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1758, allocations: 7.938 kB / 0.8245 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1758, allocations: 0 / 0.8245 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.841e-05/0.1758, allocations: 11.98 kB / 0.8245 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.176, allocations: 124.8 kB / 0.8246 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.1761, allocations: 46.61 kB / 0.8246 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.1762, allocations: 20.98 kB / 0.8247 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.771e-05/0.1763, allocations: 4 kB / 0.8247 GB, free: 304 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.1763, allocations: 34.5 kB / 0.8247 GB, free: 260 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1763, allocations: 0 / 0.8247 GB, free: 260 kB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001398/0.1777, allocations: 419.3 kB / 0.8251 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.1777, allocations: 51.41 kB / 0.8251 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.1778, allocations: 93.86 kB / 0.8252 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1778, allocations: 29.7 kB / 0.8253 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1779, allocations: 84.14 kB / 0.8253 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.1779, allocations: 27.72 kB / 0.8254 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.178, allocations: 25.72 kB / 0.8254 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1781, allocations: 314.8 kB / 0.8257 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.1781, allocations: 12 kB / 0.8257 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.1782, allocations: 12 kB / 0.8257 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.085e-05/0.1782, allocations: 41.14 kB / 0.8257 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1782, allocations: 0 / 0.8257 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000123/0.1784, allocations: 73.66 kB / 0.8258 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1784, allocations: 11.94 kB / 0.8258 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1784, allocations: 0 / 0.8258 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1784, allocations: 0 / 0.8258 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.1785, allocations: 15.98 kB / 0.8258 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1785, allocations: 0 / 0.8258 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.1785, allocations: 0 / 0.8258 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1785, allocations: 4 kB / 0.8259 GB, free: 14.95 MB / 0.5762 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 (8): * Single equations (assignments): 8 * 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.21e-05/0.1786, allocations: 118.4 kB / 0.826 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.1786, allocations: 11.89 kB / 0.826 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.1788, allocations: 85.5 kB / 0.8261 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1788, allocations: 4 kB / 0.8261 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1788, allocations: 3.938 kB / 0.8261 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1788, allocations: 0 / 0.8261 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.179, allocations: 136.7 kB / 0.8262 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.179, allocations: 0 / 0.8262 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.1791, allocations: 19.94 kB / 0.8262 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1791, allocations: 3.938 kB / 0.8262 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1791, allocations: 0 / 0.8262 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1791, allocations: 0 / 0.8262 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.1791, allocations: 3.984 kB / 0.8262 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1793, allocations: 113.1 kB / 0.8263 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.1793, allocations: 11.88 kB / 0.8263 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1793, allocations: 4.031 kB / 0.8263 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.1793, allocations: 8.125 kB / 0.8264 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.1794, allocations: 3.984 kB / 0.8264 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1794, allocations: 4 kB / 0.8264 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.1794, allocations: 79.28 kB / 0.8264 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1794, allocations: 3.938 kB / 0.8264 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002308/0.1796, allocations: 27.94 kB / 0.8265 GB, free: 14.24 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002391/0.1799, allocations: 127.2 kB / 0.8266 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.18, allocations: 40.06 kB / 0.8266 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.18, allocations: 0 / 0.8266 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.347e-05/0.1801, allocations: 23.92 kB / 0.8266 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.1802, allocations: 8 kB / 0.8267 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.1806, allocations: 137.5 kB / 0.8268 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1809, allocations: 0.6807 MB / 0.8275 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.1809, allocations: 11.75 kB / 0.8275 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.181, allocations: 11.44 kB / 0.8275 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.181, allocations: 0 / 0.8275 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.003807/0.1848, allocations: 0.9221 MB / 0.8284 GB, free: 12.26 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.081332344998373] Failed to read output from testmodel.py, exit status != 0: 0.192640990979271 0.208508564 0.030591446 Calling exit ...