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.001852/0.001852, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002134/0.002134, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 178] 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.003321/0.003321, allocations: 236.5 kB / 259.8 MB, free: 12.71 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 1.171/1.171, allocations: 138.5 MB / 454.7 MB, free: 1.465 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.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.884e-06/1.884e-06, allocations: 0 / 0.5544 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.153e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001655/0.001686, allocations: 0.6036 MB / 0.555 GB, free: 172 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.002097, allocations: 151.4 kB / 0.5551 GB, free: 20 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.002123, allocations: 0 / 0.5551 GB, free: 20 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.002134, allocations: 0 / 0.5551 GB, free: 20 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.407e-05/0.002158, allocations: 0 / 0.5551 GB, free: 20 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.002465, allocations: 39.97 kB / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.423e-05/0.002509, allocations: 11.84 kB / 0.5552 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.002547, allocations: 8 kB / 0.5552 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.002585, allocations: 15.91 kB / 0.5552 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.002646, allocations: 4 kB / 0.5552 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.00266, allocations: 4 kB / 0.5552 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.393e-05/0.002754, allocations: 31.95 kB / 0.5552 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.00277, allocations: 3.984 kB / 0.5552 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.00279, allocations: 8 kB / 0.5553 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.002903, allocations: 39.81 kB / 0.5553 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.002905, allocations: 0 / 0.5553 GB, free: 15.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002905, allocations: 0 / 0.5553 GB, free: 15.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.002909, allocations: 0 / 0.5553 GB, free: 15.86 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.0004568/0.003366, allocations: 364.2 kB / 0.5556 GB, free: 15.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.003409, allocations: 16.73 kB / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.00345, allocations: 0.9375 kB / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.003565, allocations: 108.6 kB / 0.5558 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.003576, allocations: 384 / 0.5558 GB, free: 15.31 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.003601, allocations: 8.375 kB / 0.5558 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.00374, allocations: 75.89 kB / 0.5558 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.003749, allocations: 192 / 0.5558 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.003757, allocations: 384 / 0.5558 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.003761, allocations: 384 / 0.5558 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/0.003812, allocations: 19.92 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.003997, allocations: 112.6 kB / 0.556 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.004111, allocations: 59.05 kB / 0.556 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.004156, allocations: 23.8 kB / 0.556 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.807e-05/0.004224, allocations: 4 kB / 0.556 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.004258, allocations: 33.39 kB / 0.5561 GB, free: 14.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.004259, allocations: 0 / 0.5561 GB, free: 14.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001316/0.005575, allocations: 426.7 kB / 0.5565 GB, free: 14.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.005619, allocations: 55.34 kB / 0.5565 GB, free: 14.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.005736, allocations: 161.9 kB / 0.5567 GB, free: 14.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.005758, allocations: 29.7 kB / 0.5567 GB, free: 14.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.005823, allocations: 126.9 kB / 0.5568 GB, free: 14.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.005863, allocations: 27.75 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.005911, allocations: 27.36 kB / 0.5569 GB, free: 13.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.006159, allocations: 0.4884 MB / 0.5574 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/0.00619, allocations: 11.97 kB / 0.5574 GB, free: 13.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.00622, allocations: 20.06 kB / 0.5574 GB, free: 13.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/0.006294, allocations: 39.67 kB / 0.5574 GB, free: 13.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006295, allocations: 3.938 kB / 0.5574 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001242/0.006419, allocations: 69.69 kB / 0.5575 GB, free: 13.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.006435, allocations: 12.12 kB / 0.5575 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.006438, allocations: 0 / 0.5575 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.006452, allocations: 3.938 kB / 0.5575 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.00654, allocations: 12 kB / 0.5575 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.006547, allocations: 3.938 kB / 0.5575 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.172e-05/0.006569, allocations: 0 / 0.5575 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.006578, allocations: 4 kB / 0.5575 GB, free: 13.28 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 0.0001122/0.00669, allocations: 160.6 kB / 0.5577 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.006708, allocations: 7.953 kB / 0.5577 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.006895, allocations: 89.58 kB / 0.5578 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.006897, allocations: 0 / 0.5578 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.006902, allocations: 3.938 kB / 0.5578 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.006905, allocations: 0 / 0.5578 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.007036, allocations: 124.6 kB / 0.5579 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007037, allocations: 0 / 0.5579 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.007115, allocations: 12 kB / 0.5579 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007117, allocations: 0 / 0.5579 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.007128, allocations: 4 kB / 0.5579 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007129, allocations: 0 / 0.5579 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00713, allocations: 0 / 0.5579 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.007349, allocations: 136.3 kB / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.007359, allocations: 7.953 kB / 0.5581 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.007374, allocations: 3.984 kB / 0.5581 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.684e-05/0.007421, allocations: 0 / 0.5581 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.007446, allocations: 4 kB / 0.5581 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.007458, allocations: 7.922 kB / 0.5581 GB, free: 12.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.103e-05/0.007529, allocations: 127.2 kB / 0.5582 GB, free: 12.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007529, allocations: 0 / 0.5582 GB, free: 12.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.007742, allocations: 27.94 kB / 0.5582 GB, free: 12.5 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.0002219/0.007964, allocations: 139.3 kB / 0.5584 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.008089, allocations: 44 kB / 0.5584 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.008091, allocations: 0 / 0.5584 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.008142, allocations: 39.75 kB / 0.5584 GB, free: 12.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.00828, allocations: 8.609 kB / 0.5585 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.008633, allocations: 144.8 kB / 0.5586 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.389e-05/0.008697, allocations: 67.28 kB / 0.5587 GB, free: 12.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.008732, allocations: 8 kB / 0.5587 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.008759, allocations: 12.5 kB / 0.5587 GB, free: 11.99 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008759, allocations: 3.938 kB / 0.5587 GB, free: 11.98 MB / 490.7 MB Notification: Performance of Templates: time 0.004092/0.01285, allocations: 0.9099 MB / 0.5596 GB, free: 11.11 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: 5.829512289026752]