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.0009446/0.0009446, allocations: 77.09 kB / 20.66 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.001028/0.001028, allocations: 169 kB / 24.06 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.9765/0.9765, 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/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.001752/0.001752, allocations: 247.4 kB / 261.3 MB, free: 12.66 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.7495/0.7495, allocations: 138.4 MB / 456.3 MB, free: 30.02 MB / 410.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.122e-06/1.122e-06, allocations: 0 / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.306e-05, allocations: 2.312 kB / 0.5563 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.001606/0.001619, allocations: 1.496 MB / 0.5578 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005461/0.002165, allocations: 487.5 kB / 0.5583 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.002191, allocations: 4 kB / 0.5583 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.00221, allocations: 3.938 kB / 0.5583 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.002262, allocations: 3.984 kB / 0.5583 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.002403, allocations: 27.86 kB / 0.5583 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.00245, allocations: 23.86 kB / 0.5583 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.002515, allocations: 8 kB / 0.5583 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.002571, allocations: 11.98 kB / 0.5584 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.631e-05/0.002597, allocations: 11.98 kB / 0.5584 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.002612, allocations: 4 kB / 0.5584 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.64e-05/0.002659, allocations: 15.98 kB / 0.5584 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.002672, allocations: 15.86 kB / 0.5584 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.139e-05/0.002683, allocations: 4 kB / 0.5584 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.249e-05/0.002756, allocations: 31.89 kB / 0.5584 GB, free: 13.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.002757, allocations: 0 / 0.5584 GB, free: 13.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.002758, allocations: 0 / 0.5584 GB, free: 13.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.002761, allocations: 0 / 0.5584 GB, free: 13.73 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.0002411/0.003002, allocations: 360.5 kB / 0.5588 GB, free: 13.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.00303, allocations: 13.94 kB / 0.5588 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.00305, allocations: 4.938 kB / 0.5588 GB, free: 13.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.003117, allocations: 120.6 kB / 0.5589 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.003125, allocations: 4.375 kB / 0.5589 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.003131, allocations: 384 / 0.5589 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.248e-05/0.003203, allocations: 50.95 kB / 0.559 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.00321, allocations: 8.109 kB / 0.559 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-06/0.003215, allocations: 384 / 0.559 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.003219, allocations: 3.938 kB / 0.559 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.595e-05/0.003235, allocations: 4 kB / 0.559 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.003413, allocations: 236.5 kB / 0.5592 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.676e-05/0.003449, allocations: 27.06 kB / 0.5592 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.454e-05/0.003464, allocations: 15.75 kB / 0.5592 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/0.003518, allocations: 7.984 kB / 0.5593 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.003536, allocations: 37.33 kB / 0.5593 GB, free: 12.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.003536, allocations: 0 / 0.5593 GB, free: 12.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 9.226e-05/0.003629, allocations: 41.64 kB / 0.5593 GB, free: 12.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.00365, allocations: 51.41 kB / 0.5594 GB, free: 12.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.003708, allocations: 165.9 kB / 0.5595 GB, free: 12.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.003716, allocations: 25.7 kB / 0.5596 GB, free: 12.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.003749, allocations: 126.9 kB / 0.5597 GB, free: 12.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.003761, allocations: 3.953 kB / 0.5597 GB, free: 12.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.003783, allocations: 23.5 kB / 0.5597 GB, free: 12.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000357/0.00414, allocations: 0.4923 MB / 0.5602 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/0.004148, allocations: 4 kB / 0.5602 GB, free: 11.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-06/0.004156, allocations: 3.938 kB / 0.5602 GB, free: 11.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.06e-05/0.004176, allocations: 11.69 kB / 0.5602 GB, free: 11.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.004177, allocations: 0 / 0.5602 GB, free: 11.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.021e-05/0.004218, allocations: 33.7 kB / 0.5602 GB, free: 11.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.004228, allocations: 11.98 kB / 0.5603 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.004232, allocations: 3.938 kB / 0.5603 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.004238, allocations: 96 / 0.5603 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.822e-05/0.004276, allocations: 8 kB / 0.5603 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-06/0.004278, allocations: 0 / 0.5603 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.004294, allocations: 11.89 kB / 0.5603 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-06/0.004297, allocations: 0 / 0.5603 GB, free: 11.64 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.154e-05/0.004348, allocations: 164.5 kB / 0.5604 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.004362, allocations: 4 kB / 0.5604 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.004418, allocations: 48.92 kB / 0.5605 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.004419, allocations: 0 / 0.5605 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.00442, allocations: 0 / 0.5605 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.004422, allocations: 4.031 kB / 0.5605 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.243e-05/0.004505, allocations: 101.2 kB / 0.5606 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004505, allocations: 0 / 0.5606 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.004522, allocations: 7.984 kB / 0.5606 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.91e-07/0.004523, allocations: 256 / 0.5606 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.004528, allocations: 4 kB / 0.5606 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.004529, allocations: 4 kB / 0.5606 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.004531, allocations: 3.938 kB / 0.5606 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.866e-05/0.004599, allocations: 179.9 kB / 0.5608 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.004606, allocations: 11.94 kB / 0.5608 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.004613, allocations: 8.031 kB / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.004641, allocations: 0 / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.004663, allocations: 7.938 kB / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.004664, allocations: 0 / 0.5608 GB, free: 11.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.129e-05/0.004695, allocations: 131.2 kB / 0.5609 GB, free: 10.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004695, allocations: 0 / 0.5609 GB, free: 10.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.004834, allocations: 4 kB / 0.5609 GB, free: 10.91 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 7.499e-05/0.004909, allocations: 95.25 kB / 0.561 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.819e-05/0.004957, allocations: 23.67 kB / 0.561 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.91e-07/0.004958, allocations: 8 kB / 0.561 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.004974, allocations: 11.69 kB / 0.5611 GB, free: 10.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.005134, allocations: 11.17 kB / 0.5611 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001569/0.00529, allocations: 121.4 kB / 0.5612 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.005322, allocations: 55.34 kB / 0.5612 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.376e-05/0.005336, allocations: 0 / 0.5612 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.005373, allocations: 74.2 kB / 0.5613 GB, free: 10.46 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005374, allocations: 4.062 kB / 0.5613 GB, free: 10.46 MB / 490.7 MB Notification: Performance of Templates: time 0.001756/0.00713, allocations: 0.6953 MB / 0.562 GB, free: 9.777 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.6242079250514507]