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.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.001358/0.001358, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00152/0.00152, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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 1.014/1.014, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.001679/0.001679, allocations: 236.7 kB / 261.3 MB, free: 12.66 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.8225/0.8225, allocations: 138.4 MB / 456.3 MB, free: 29.95 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.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 1.262e-06/1.262e-06, allocations: 3.938 kB / 0.5564 GB, free: 15.78 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.223e-05, allocations: 6.109 kB / 0.5564 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001196/0.001218, allocations: 0.6165 MB / 0.557 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002995/0.001517, allocations: 159.4 kB / 0.5572 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.001546, allocations: 0 / 0.5572 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.001562, allocations: 0 / 0.5572 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.073e-05/0.001582, allocations: 0 / 0.5572 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.001858, allocations: 51.77 kB / 0.5572 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.559e-05/0.001903, allocations: 4 kB / 0.5572 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.001945, allocations: 7.984 kB / 0.5572 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.946e-05/0.001974, allocations: 11.98 kB / 0.5572 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.002039, allocations: 11.92 kB / 0.5572 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.002052, allocations: 0 / 0.5572 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.738e-05/0.00212, allocations: 31.97 kB / 0.5573 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.002137, allocations: 0 / 0.5573 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.00215, allocations: 7.984 kB / 0.5573 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.385e-05/0.002234, allocations: 31.94 kB / 0.5573 GB, free: 14.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.002236, allocations: 0 / 0.5573 GB, free: 14.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.002237, allocations: 4 kB / 0.5573 GB, free: 14.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.002241, allocations: 0 / 0.5573 GB, free: 14.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002961/0.002537, allocations: 360.3 kB / 0.5577 GB, free: 14.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.002571, allocations: 16.69 kB / 0.5577 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.002599, allocations: 1.281 kB / 0.5577 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.002673, allocations: 116.5 kB / 0.5578 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.002684, allocations: 384 / 0.5578 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.002701, allocations: 8.375 kB / 0.5578 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.794e-05/0.002779, allocations: 59.95 kB / 0.5579 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.002785, allocations: 192 / 0.5579 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.002793, allocations: 8.375 kB / 0.5579 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.002799, allocations: 4.359 kB / 0.5579 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.002821, allocations: 15.92 kB / 0.5579 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.002925, allocations: 101.2 kB / 0.558 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.002994, allocations: 50.97 kB / 0.558 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.003012, allocations: 19.67 kB / 0.558 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.003063, allocations: 8.188 kB / 0.5581 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.003083, allocations: 33.39 kB / 0.5581 GB, free: 13.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.003084, allocations: 0 / 0.5581 GB, free: 13.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007272/0.003811, allocations: 418.6 kB / 0.5585 GB, free: 13.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.003836, allocations: 51.41 kB / 0.5585 GB, free: 13.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.396e-05/0.00389, allocations: 157.9 kB / 0.5587 GB, free: 13.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.003899, allocations: 25.7 kB / 0.5587 GB, free: 13.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.003926, allocations: 126.9 kB / 0.5588 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.003954, allocations: 27.78 kB / 0.5589 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.003983, allocations: 27.36 kB / 0.5589 GB, free: 13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.004092, allocations: 0.4884 MB / 0.5594 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.004106, allocations: 7.984 kB / 0.5594 GB, free: 12.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.004116, allocations: 4 kB / 0.5594 GB, free: 12.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.004154, allocations: 40.02 kB / 0.5594 GB, free: 12.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.004154, allocations: 0 / 0.5594 GB, free: 12.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.575e-05/0.00422, allocations: 69.56 kB / 0.5595 GB, free: 12.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.004231, allocations: 4 kB / 0.5595 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.004235, allocations: 0 / 0.5595 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.004243, allocations: 0 / 0.5595 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.004294, allocations: 12 kB / 0.5595 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.004297, allocations: 0 / 0.5595 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.004309, allocations: 7.875 kB / 0.5595 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.004316, allocations: 7.984 kB / 0.5595 GB, free: 12.34 MB / 490.7 MB 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 5.646e-05/0.004373, allocations: 160.6 kB / 0.5597 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.004382, allocations: 4 kB / 0.5597 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.004483, allocations: 77.58 kB / 0.5597 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004485, allocations: 0 / 0.5597 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.004486, allocations: 0 / 0.5597 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.00449, allocations: 3.938 kB / 0.5597 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.039e-05/0.004561, allocations: 109.2 kB / 0.5598 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.004562, allocations: 0 / 0.5598 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.004604, allocations: 12 kB / 0.5599 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.004606, allocations: 0 / 0.5599 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.004611, allocations: 4 kB / 0.5599 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.004612, allocations: 0 / 0.5599 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.004613, allocations: 4 kB / 0.5599 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.004722, allocations: 120.2 kB / 0.56 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-06/0.004726, allocations: 0 / 0.56 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.004736, allocations: 3.984 kB / 0.56 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.004756, allocations: 8.062 kB / 0.56 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.004767, allocations: 4 kB / 0.56 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.004772, allocations: 4 kB / 0.56 GB, free: 11.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.894e-05/0.004801, allocations: 123.2 kB / 0.5601 GB, free: 11.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004801, allocations: 4.125 kB / 0.5601 GB, free: 11.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.004947, allocations: 27.94 kB / 0.5601 GB, free: 11.62 MB / 490.7 MB 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.0001396/0.005087, allocations: 131.2 kB / 0.5603 GB, free: 11.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.424e-05/0.005161, allocations: 43.53 kB / 0.5603 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.005162, allocations: 0 / 0.5603 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.896e-05/0.005181, allocations: 23.67 kB / 0.5603 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.005297, allocations: 8 kB / 0.5603 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.005509, allocations: 153 kB / 0.5605 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.65e-05/0.005536, allocations: 55.36 kB / 0.5605 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.914e-05/0.005565, allocations: 15.97 kB / 0.5606 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.005608, allocations: 74.2 kB / 0.5606 GB, free: 11.07 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.005609, allocations: 3.938 kB / 0.5606 GB, free: 11.06 MB / 490.7 MB Notification: Performance of Templates: time 0.002388/0.007996, allocations: 1.015 MB / 0.5616 GB, free: 10.1 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7459673820994794]