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.0009839/0.0009839, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009905/0.0009905, allocations: 169 kB / 23.02 MB, free: 1.551 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.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.001758/0.001758, allocations: 229.9 kB / 260.2 MB, free: 12.83 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.8598/0.8598, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.573e-06/1.573e-06, allocations: 0 / 0.5552 GB, free: 472 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.01e-05, allocations: 6.312 kB / 0.5552 GB, free: 464 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002223/0.002253, allocations: 0.6157 MB / 0.5558 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004506/0.002704, allocations: 147.5 kB / 0.5559 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.002736, allocations: 0 / 0.5559 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.002761, allocations: 3.938 kB / 0.5559 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.276e-05/0.002784, allocations: 4 kB / 0.5559 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.003201, allocations: 47.81 kB / 0.556 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.399e-05/0.003275, allocations: 7.984 kB / 0.556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.003329, allocations: 7.984 kB / 0.556 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.003375, allocations: 8 kB / 0.556 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.678e-05/0.003471, allocations: 11.92 kB / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.003489, allocations: 0 / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.003591, allocations: 31.97 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.003608, allocations: 3.984 kB / 0.556 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.003629, allocations: 4 kB / 0.556 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.003756, allocations: 39.88 kB / 0.5561 GB, free: 15.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.003761, allocations: 3.984 kB / 0.5561 GB, free: 15.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.003762, allocations: 4 kB / 0.5561 GB, free: 15.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.003767, allocations: 0 / 0.5561 GB, free: 15.52 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.0004028/0.004169, allocations: 352.6 kB / 0.5564 GB, free: 15.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.004215, allocations: 12.75 kB / 0.5564 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.004261, allocations: 4.891 kB / 0.5564 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.004373, allocations: 112.6 kB / 0.5565 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.004387, allocations: 384 / 0.5565 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.004421, allocations: 8.312 kB / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.004544, allocations: 71.95 kB / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004552, allocations: 192 / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.004563, allocations: 384 / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.004572, allocations: 384 / 0.5566 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.004615, allocations: 23.86 kB / 0.5566 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.004777, allocations: 116.6 kB / 0.5568 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.004887, allocations: 51.11 kB / 0.5568 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.004924, allocations: 15.69 kB / 0.5568 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.005008, allocations: 4 kB / 0.5568 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.00504, allocations: 41.5 kB / 0.5569 GB, free: 14.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.005041, allocations: 4 kB / 0.5569 GB, free: 14.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001243/0.006284, allocations: 410.2 kB / 0.5573 GB, free: 14.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.006318, allocations: 55.34 kB / 0.5573 GB, free: 14.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.006402, allocations: 153.9 kB / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.006418, allocations: 29.7 kB / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.006462, allocations: 130.9 kB / 0.5576 GB, free: 13.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.006501, allocations: 31.73 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.006546, allocations: 23.38 kB / 0.5577 GB, free: 13.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.006691, allocations: 496.1 kB / 0.5581 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.006717, allocations: 8.109 kB / 0.5581 GB, free: 13.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.502e-05/0.006742, allocations: 16 kB / 0.5582 GB, free: 13.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.006808, allocations: 35.61 kB / 0.5582 GB, free: 13.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.006809, allocations: 448 / 0.5582 GB, free: 13.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.006924, allocations: 61.69 kB / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.00694, allocations: 4 kB / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006945, allocations: 4 kB / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.006963, allocations: 0 / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.007055, allocations: 19.98 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.007062, allocations: 3.938 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.007082, allocations: 7.938 kB / 0.5583 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.007089, allocations: 4 kB / 0.5583 GB, free: 12.98 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 8.228e-05/0.007171, allocations: 156.6 kB / 0.5584 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.00719, allocations: 11.95 kB / 0.5585 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.007364, allocations: 81.56 kB / 0.5585 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.007367, allocations: 0 / 0.5585 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.007372, allocations: 3.938 kB / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.007377, allocations: 4 kB / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.007477, allocations: 116.6 kB / 0.5587 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.007479, allocations: 0 / 0.5587 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.042e-05/0.00757, allocations: 15.94 kB / 0.5587 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007572, allocations: 4 kB / 0.5587 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.007584, allocations: 3.984 kB / 0.5587 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.007586, allocations: 4 kB / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.007588, allocations: 0 / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.007782, allocations: 128.7 kB / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.007791, allocations: 3.953 kB / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.007806, allocations: 4 kB / 0.5588 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.007846, allocations: 4 kB / 0.5588 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.007868, allocations: 3.984 kB / 0.5588 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.007876, allocations: 7.938 kB / 0.5588 GB, free: 12.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.117e-05/0.007917, allocations: 127.2 kB / 0.5589 GB, free: 12.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007917, allocations: 0 / 0.5589 GB, free: 12.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.008182, allocations: 31.94 kB / 0.559 GB, free: 12.21 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.0002167/0.008399, allocations: 127.2 kB / 0.5591 GB, free: 12.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.008523, allocations: 43.66 kB / 0.5591 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.008525, allocations: 0 / 0.5591 GB, free: 12.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.008566, allocations: 31.61 kB / 0.5592 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.008726, allocations: 4 kB / 0.5592 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.009071, allocations: 144.9 kB / 0.5593 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.009116, allocations: 63.28 kB / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.088e-05/0.009156, allocations: 4 kB / 0.5594 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.009187, allocations: 12.5 kB / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009188, allocations: 0 / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of Templates: time 0.003199/0.01239, allocations: 0.9228 MB / 0.5603 GB, free: 10.85 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.923281842377037]