Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.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.0009921/0.0009921, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001022/0.001022, 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.048/1.048, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.001544/0.001544, allocations: 252.8 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.6988/0.6988, allocations: 138.4 MB / 455.5 MB, free: 1.418 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.229e-05, allocations: 6.25 kB / 0.5556 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.001903/0.001925, allocations: 1.487 MB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000643/0.002568, allocations: 499.6 kB / 0.5575 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.002605, allocations: 4 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.002629, allocations: 0 / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.22e-05/0.002691, allocations: 3.938 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.002876, allocations: 23.91 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.002932, allocations: 27.86 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.779e-05/0.00301, allocations: 4 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.003081, allocations: 11.98 kB / 0.5576 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.52e-05/0.003116, allocations: 15.98 kB / 0.5576 GB, free: 14.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.003127, allocations: 3.938 kB / 0.5576 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.003183, allocations: 19.92 kB / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.0032, allocations: 7.984 kB / 0.5577 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.536e-05/0.003215, allocations: 8 kB / 0.5577 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.017e-05/0.003305, allocations: 27.89 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003307, allocations: 0 / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003308, allocations: 0 / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003312, allocations: 3.938 kB / 0.5577 GB, free: 14.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003018/0.003613, allocations: 360.6 kB / 0.558 GB, free: 13.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.003653, allocations: 16.75 kB / 0.5581 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.003677, allocations: 0.9375 kB / 0.5581 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.962e-05/0.003747, allocations: 112.6 kB / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.003754, allocations: 384 / 0.5582 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.003761, allocations: 4.359 kB / 0.5582 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.064e-05/0.003852, allocations: 58.89 kB / 0.5582 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003858, allocations: 192 / 0.5582 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.003866, allocations: 384 / 0.5582 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.003872, allocations: 3.938 kB / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.003889, allocations: 4 kB / 0.5582 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.004089, allocations: 232.5 kB / 0.5585 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.004127, allocations: 31.06 kB / 0.5585 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.00414, allocations: 15.69 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.492e-05/0.004215, allocations: 15.97 kB / 0.5585 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.004236, allocations: 41.38 kB / 0.5586 GB, free: 13.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.004237, allocations: 0 / 0.5586 GB, free: 13.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001068/0.004343, allocations: 37.64 kB / 0.5586 GB, free: 13.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.00437, allocations: 55.41 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.004432, allocations: 161.9 kB / 0.5588 GB, free: 12.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.00444, allocations: 29.83 kB / 0.5588 GB, free: 12.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.00448, allocations: 130.9 kB / 0.559 GB, free: 12.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.004496, allocations: 7.953 kB / 0.559 GB, free: 12.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.004519, allocations: 15.38 kB / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.004631, allocations: 0.4961 MB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.004641, allocations: 0 / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-06/0.004649, allocations: 0 / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.004672, allocations: 11.69 kB / 0.5595 GB, free: 12.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.004675, allocations: 4 kB / 0.5595 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.17e-05/0.004727, allocations: 41.72 kB / 0.5595 GB, free: 12.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.004738, allocations: 11 kB / 0.5595 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.004744, allocations: 3.938 kB / 0.5595 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.004755, allocations: 3.984 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.306e-05/0.004808, allocations: 4 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.00481, allocations: 7.875 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.004826, allocations: 4 kB / 0.5596 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.00483, allocations: 0 / 0.5596 GB, free: 12.01 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 (2): * Single equations (assignments): 2 * 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 5.865e-05/0.004889, allocations: 156.6 kB / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.004901, allocations: 0 / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.988e-05/0.004981, allocations: 52.94 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004983, allocations: 0 / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.004985, allocations: 3.984 kB / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.004988, allocations: 0 / 0.5598 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.726e-05/0.005075, allocations: 97.2 kB / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005076, allocations: 0 / 0.5598 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.005097, allocations: 7.984 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005098, allocations: 4 kB / 0.5599 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-06/0.005102, allocations: 0 / 0.5599 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.005102, allocations: 0 / 0.5599 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.005104, allocations: 3.938 kB / 0.5599 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.633e-05/0.00519, allocations: 191.9 kB / 0.56 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.005195, allocations: 7.984 kB / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.005203, allocations: 256 / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.005233, allocations: 4 kB / 0.5601 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.005263, allocations: 7.938 kB / 0.5601 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.005265, allocations: 0 / 0.5601 GB, free: 11.42 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.101e-05/0.005306, allocations: 135.2 kB / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005306, allocations: 0 / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000141/0.005447, allocations: 4 kB / 0.5602 GB, free: 11.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000121/0.005568, allocations: 103.3 kB / 0.5603 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.612e-05/0.005635, allocations: 19.61 kB / 0.5603 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005636, allocations: 0 / 0.5603 GB, free: 11.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.00565, allocations: 11.69 kB / 0.5603 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.005839, allocations: 4 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.006051, allocations: 117.4 kB / 0.5604 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.073e-05/0.006082, allocations: 51.36 kB / 0.5605 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.98e-05/0.006102, allocations: 12.11 kB / 0.5605 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.006151, allocations: 70.2 kB / 0.5606 GB, free: 10.84 MB / 490.7 MB Notification: Performance of SimCode: time 6.12e-07/0.006151, allocations: 3.938 kB / 0.5606 GB, free: 10.84 MB / 490.7 MB Notification: Performance of Templates: time 0.002154/0.008305, allocations: 0.6902 MB / 0.5612 GB, free: 10.15 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4458823050372303]