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.001035/0.001035, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001316/0.001316, allocations: 169 kB / 23.27 MB, free: 1.223 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.027/1.027, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.002689/0.002689, allocations: 233.6 kB / 260.5 MB, free: 12.67 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.7412/0.7412, allocations: 138.4 MB / 455.5 MB, free: 1.41 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.943e-06/1.943e-06, allocations: 0 / 0.5557 GB, free: 192 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.845e-05, allocations: 2.312 kB / 0.5557 GB, free: 188 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002035/0.002064, allocations: 0.6112 MB / 0.5563 GB, free: 15.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003915/0.002455, allocations: 147.5 kB / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.002488, allocations: 0 / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.002507, allocations: 3.938 kB / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.298e-05/0.00253, allocations: 0 / 0.5564 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.002843, allocations: 43.83 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.995e-05/0.002893, allocations: 15.92 kB / 0.5565 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.002931, allocations: 7.984 kB / 0.5565 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.002971, allocations: 11.98 kB / 0.5565 GB, free: 15.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.003049, allocations: 7.984 kB / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.003063, allocations: 0 / 0.5565 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.003154, allocations: 27.97 kB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.003171, allocations: 4 kB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.003188, allocations: 7.984 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.003294, allocations: 39.88 kB / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003296, allocations: 0 / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003297, allocations: 3.938 kB / 0.5566 GB, free: 15.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.003302, allocations: 0 / 0.5566 GB, free: 15.26 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.0003513/0.003653, allocations: 364.6 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.003698, allocations: 8.75 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.003732, allocations: 8.891 kB / 0.5569 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.003814, allocations: 104.6 kB / 0.557 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003825, allocations: 384 / 0.557 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.003844, allocations: 4.375 kB / 0.557 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.00394, allocations: 71.94 kB / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003947, allocations: 192 / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.003958, allocations: 384 / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003964, allocations: 384 / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.003996, allocations: 23.86 kB / 0.5571 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.004122, allocations: 101.3 kB / 0.5572 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.869e-05/0.004201, allocations: 43.11 kB / 0.5573 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.004224, allocations: 19.67 kB / 0.5573 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.362e-05/0.004298, allocations: 11.97 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.004325, allocations: 37.52 kB / 0.5573 GB, free: 14.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.004327, allocations: 4 kB / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009659/0.005293, allocations: 402.2 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.005321, allocations: 59.41 kB / 0.5578 GB, free: 13.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.005388, allocations: 153.9 kB / 0.5579 GB, free: 13.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.005401, allocations: 25.7 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.005439, allocations: 126.9 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.005476, allocations: 39.66 kB / 0.5581 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.005513, allocations: 23.38 kB / 0.5581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.00565, allocations: 496.1 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.005668, allocations: 7.984 kB / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.811e-05/0.005686, allocations: 11.98 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.898e-05/0.005735, allocations: 27.62 kB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.005737, allocations: 4.125 kB / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.286e-05/0.00583, allocations: 62.12 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.005844, allocations: 4 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.005851, allocations: 4 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.005871, allocations: 0 / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.005941, allocations: 15.98 kB / 0.5587 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.005944, allocations: 4 kB / 0.5587 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.005961, allocations: 3.938 kB / 0.5587 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005967, allocations: 0 / 0.5587 GB, free: 12.77 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.114e-05/0.006048, allocations: 168.5 kB / 0.5589 GB, free: 12.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.006061, allocations: 8 kB / 0.5589 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.0062, allocations: 65.64 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.006204, allocations: 4 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.006206, allocations: 0 / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.006212, allocations: 7.922 kB / 0.559 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.006311, allocations: 109.2 kB / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.006313, allocations: 0 / 0.5591 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.684e-05/0.00638, allocations: 12 kB / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.006387, allocations: 3.984 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.006393, allocations: 4 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.006397, allocations: 7.938 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.0064, allocations: 3.984 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.006553, allocations: 108.4 kB / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.006561, allocations: 4 kB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.006575, allocations: 0 / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.006606, allocations: 0 / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.006625, allocations: 11.97 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.006633, allocations: 4 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.006675, allocations: 123.2 kB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006675, allocations: 0 / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.006935, allocations: 36 kB / 0.5594 GB, free: 12.04 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.0001982/0.007133, allocations: 135.1 kB / 0.5595 GB, free: 11.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.909e-05/0.007232, allocations: 48.03 kB / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007234, allocations: 0 / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.643e-05/0.007261, allocations: 23.62 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.007412, allocations: 8 kB / 0.5596 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.007699, allocations: 136.7 kB / 0.5597 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.00774, allocations: 59.34 kB / 0.5598 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.449e-05/0.007774, allocations: 8 kB / 0.5598 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.799e-05/0.007832, allocations: 78.19 kB / 0.5599 GB, free: 11.49 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.007833, allocations: 4 kB / 0.5599 GB, free: 11.49 MB / 490.7 MB Notification: Performance of Templates: time 0.003358/0.01119, allocations: 1.02 MB / 0.5609 GB, free: 10.51 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.5636642733588815]