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.001964/0.001964, allocations: 88.72 kB / 19.44 MB, free: 360 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.002469/0.002469, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.459/1.459, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.002691/0.002691, allocations: 245 kB / 259.8 MB, free: 12.86 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.064/1.064, allocations: 138.4 MB / 454.7 MB, free: 1.52 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.633e-06/1.633e-06, allocations: 0 / 0.5544 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.777e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00176/0.001787, allocations: 0.6039 MB / 0.555 GB, free: 244 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004361/0.002223, allocations: 151.5 kB / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.002248, allocations: 0 / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.113e-05/0.002259, allocations: 0 / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.37e-05/0.002282, allocations: 0 / 0.5551 GB, free: 92 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.002603, allocations: 35.83 kB / 0.5551 GB, free: 56 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.00266, allocations: 19.92 kB / 0.5552 GB, free: 36 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.002694, allocations: 0 / 0.5552 GB, free: 36 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.00273, allocations: 12 kB / 0.5552 GB, free: 24 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.116e-05/0.002801, allocations: 11.97 kB / 0.5552 GB, free: 12 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.002816, allocations: 0 / 0.5552 GB, free: 12 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.00292, allocations: 28.05 kB / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.002938, allocations: 4 kB / 0.5552 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.002967, allocations: 11.92 kB / 0.5552 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003082, allocations: 39.8 kB / 0.5553 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003084, allocations: 0 / 0.5553 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.003085, allocations: 0 / 0.5553 GB, free: 15.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003088, allocations: 0 / 0.5553 GB, free: 15.93 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.0004193/0.003508, allocations: 258.3 kB / 0.5555 GB, free: 15.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.003547, allocations: 12.75 kB / 0.5555 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.003594, allocations: 4.938 kB / 0.5555 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.003711, allocations: 101.8 kB / 0.5556 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.003725, allocations: 4.375 kB / 0.5556 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.003752, allocations: 4.375 kB / 0.5556 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.003895, allocations: 75.88 kB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.003902, allocations: 192 / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.003914, allocations: 4.375 kB / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.003919, allocations: 384 / 0.5557 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.00397, allocations: 15.94 kB / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.004151, allocations: 109.3 kB / 0.5558 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.004273, allocations: 46.61 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.004319, allocations: 24.92 kB / 0.5559 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.369e-05/0.004393, allocations: 7.984 kB / 0.5559 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.004443, allocations: 30.56 kB / 0.5559 GB, free: 15.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.004444, allocations: 0 / 0.5559 GB, free: 15.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001426/0.00587, allocations: 414.9 kB / 0.5563 GB, free: 14.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.005917, allocations: 55.34 kB / 0.5564 GB, free: 14.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.006005, allocations: 93.86 kB / 0.5565 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.006031, allocations: 33.83 kB / 0.5565 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.006078, allocations: 84.08 kB / 0.5566 GB, free: 14.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.006119, allocations: 27.73 kB / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/0.006177, allocations: 21.72 kB / 0.5566 GB, free: 14.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.006355, allocations: 318.8 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.006387, allocations: 8 kB / 0.5569 GB, free: 13.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.006419, allocations: 20.05 kB / 0.557 GB, free: 13.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.006497, allocations: 32.86 kB / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006498, allocations: 0 / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001398/0.006638, allocations: 73.67 kB / 0.5571 GB, free: 13.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.006653, allocations: 6.969 kB / 0.5571 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.006657, allocations: 4.438 kB / 0.5571 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.006674, allocations: 0 / 0.5571 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.006764, allocations: 19.92 kB / 0.5571 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.006773, allocations: 3.938 kB / 0.5571 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.006804, allocations: 8 kB / 0.5571 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.006815, allocations: 4 kB / 0.5571 GB, free: 13.81 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.0001518/0.006967, allocations: 109.8 kB / 0.5572 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.006988, allocations: 7.953 kB / 0.5572 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.00719, allocations: 81.58 kB / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.007192, allocations: 4 kB / 0.5573 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.007201, allocations: 7.922 kB / 0.5573 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007204, allocations: 0 / 0.5573 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.007333, allocations: 113.3 kB / 0.5574 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007334, allocations: 0 / 0.5574 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-05/0.007424, allocations: 15.98 kB / 0.5574 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.007427, allocations: 0 / 0.5574 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.007439, allocations: 4 kB / 0.5574 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.00744, allocations: 0 / 0.5574 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007441, allocations: 0 / 0.5574 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.007666, allocations: 121 kB / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.007674, allocations: 8.016 kB / 0.5576 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.007688, allocations: 3.938 kB / 0.5576 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.007733, allocations: 4.031 kB / 0.5576 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.007754, allocations: 3.984 kB / 0.5576 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.007766, allocations: 11.94 kB / 0.5576 GB, free: 13.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.742e-05/0.007814, allocations: 75.28 kB / 0.5577 GB, free: 13.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007814, allocations: 0 / 0.5577 GB, free: 13.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000249/0.008063, allocations: 27.94 kB / 0.5577 GB, free: 13.16 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.000243/0.008306, allocations: 135.2 kB / 0.5578 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.008428, allocations: 44.31 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.00843, allocations: 0 / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.008469, allocations: 19.98 kB / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.008624, allocations: 5.016 kB / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.008985, allocations: 135.5 kB / 0.558 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.246e-05/0.009057, allocations: 71.28 kB / 0.5581 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.964e-05/0.009097, allocations: 11.98 kB / 0.5581 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.00913, allocations: 12.48 kB / 0.5581 GB, free: 12.69 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.009131, allocations: 4 kB / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of Templates: time 0.00404/0.01317, allocations: 0.9073 MB / 0.559 GB, free: 11.82 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.432011213037185]