Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009646/0.0009646, allocations: 77.09 kB / 20.65 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.0009419/0.0009419, allocations: 169 kB / 24.05 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 0.9611/0.9611, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6183/0.6183, allocations: 115 MB / 376 MB, free: 7.492 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 482 MB, free: 11.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.345e-05, allocations: 5.922 kB / 482 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.00136/0.001384, allocations: 0.6169 MB / 482.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002912/0.001675, allocations: 145.9 kB / 482.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.001701, allocations: 1.469 kB / 482.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.001717, allocations: 2.438 kB / 482.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.385e-05/0.001741, allocations: 3.938 kB / 482.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.002021, allocations: 47.02 kB / 482.8 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.002067, allocations: 12.08 kB / 482.9 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.002104, allocations: 7.031 kB / 482.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.002137, allocations: 10.2 kB / 482.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.002205, allocations: 2.469 kB / 482.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.002219, allocations: 1.312 kB / 482.9 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.002297, allocations: 34.31 kB / 482.9 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.002311, allocations: 2.125 kB / 482.9 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.002326, allocations: 10.45 kB / 482.9 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.487e-05/0.00242, allocations: 38.31 kB / 483 MB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002423, allocations: 1.438 kB / 483 MB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.002423, allocations: 0.5938 kB / 483 MB, free: 11.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.002427, allocations: 0 / 483 MB, free: 11.18 MB / 410.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.0002655/0.002693, allocations: 361.5 kB / 483.3 MB, free: 10.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.002733, allocations: 8.531 kB / 483.3 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.002771, allocations: 6.344 kB / 483.3 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.901e-05/0.00285, allocations: 112.5 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.002861, allocations: 6.781 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.00288, allocations: 4.188 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.184e-05/0.002952, allocations: 64.73 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.002958, allocations: 1.062 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.002967, allocations: 8.359 kB / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.002971, allocations: 384 / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.002995, allocations: 15.53 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.066e-05/0.003086, allocations: 98.33 kB / 483.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.496e-05/0.003151, allocations: 47.92 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.967e-05/0.003171, allocations: 24.36 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.048e-05/0.003231, allocations: 2.906 kB / 483.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.003248, allocations: 35.14 kB / 483.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.003249, allocations: 1.219 kB / 483.7 MB, free: 10.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007458/0.003994, allocations: 421 kB / 484.2 MB, free: 10.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.004011, allocations: 52.47 kB / 484.2 MB, free: 9.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.942e-05/0.004051, allocations: 155.7 kB / 484.4 MB, free: 9.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.004057, allocations: 27.7 kB / 484.4 MB, free: 9.789 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.59e-05/0.004073, allocations: 127.8 kB / 484.5 MB, free: 9.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.0041, allocations: 31.39 kB / 484.5 MB, free: 9.637 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.004125, allocations: 24.78 kB / 484.6 MB, free: 9.609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002533/0.004379, allocations: 0.49 MB / 485.1 MB, free: 25.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.004393, allocations: 5.75 kB / 485.1 MB, free: 25.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.004405, allocations: 9.188 kB / 485.1 MB, free: 25.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.635e-05/0.004442, allocations: 24.88 kB / 485.1 MB, free: 25.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.004442, allocations: 0.7188 kB / 485.1 MB, free: 25.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.054e-05/0.004513, allocations: 68.77 kB / 485.2 MB, free: 25.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.004525, allocations: 6.969 kB / 485.2 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.00453, allocations: 80 / 485.2 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.004539, allocations: 1.281 kB / 485.2 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.289e-05/0.004591, allocations: 11.19 kB / 485.2 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.004595, allocations: 4.484 kB / 485.2 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.261e-05/0.004607, allocations: 6.25 kB / 485.2 MB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.004614, allocations: 10.02 kB / 485.2 MB, free: 25.04 MB / 426.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 6.581e-05/0.00468, allocations: 153.8 kB / 485.3 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.004691, allocations: 5.75 kB / 485.4 MB, free: 24.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.004799, allocations: 82.69 kB / 485.4 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.004802, allocations: 4.422 kB / 485.4 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.004803, allocations: 0 / 485.4 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.004807, allocations: 5.688 kB / 485.4 MB, free: 24.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.4e-05/0.004871, allocations: 102.6 kB / 485.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.004873, allocations: 2.594 kB / 485.5 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.004919, allocations: 14.53 kB / 485.6 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.004921, allocations: 1.031 kB / 485.6 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.004927, allocations: 0.5625 kB / 485.6 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.004928, allocations: 1.125 kB / 485.6 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004929, allocations: 0.9688 kB / 485.6 MB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.005036, allocations: 119.6 kB / 485.7 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.005043, allocations: 6.547 kB / 485.7 MB, free: 24.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-06/0.005052, allocations: 4.844 kB / 485.7 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.928e-05/0.005071, allocations: 10.75 kB / 485.7 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.005084, allocations: 6.625 kB / 485.7 MB, free: 24.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.005088, allocations: 0.9688 kB / 485.7 MB, free: 24.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.918e-05/0.005117, allocations: 120.2 kB / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005117, allocations: 2.031 kB / 485.8 MB, free: 24.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001415/0.005259, allocations: 31.88 kB / 485.9 MB, free: 24.46 MB / 426.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.0001403/0.005399, allocations: 126 kB / 486 MB, free: 24.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.761e-05/0.005466, allocations: 46.42 kB / 486 MB, free: 24.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.005468, allocations: 4.5 kB / 486 MB, free: 24.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.005488, allocations: 27.55 kB / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000103/0.005591, allocations: 2.281 kB / 486.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.005796, allocations: 135.6 kB / 486.2 MB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.277e-05/0.005819, allocations: 58.59 kB / 486.3 MB, free: 24.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.832e-05/0.005847, allocations: 9.984 kB / 486.3 MB, free: 24.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.005893, allocations: 81.27 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.005894, allocations: 0.5625 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of Templates: time 0.002492/0.008386, allocations: 0.9998 MB / 487.3 MB, free: 24 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.383611056022346]