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.0009462/0.0009462, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001255/0.001255, allocations: 169 kB / 23.49 MB, free: 1.051 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 0.9976/0.9976, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.005138/0.005138, allocations: 234.6 kB / 260.5 MB, free: 12.89 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.717/0.717, allocations: 138.4 MB / 455.4 MB, free: 1.559 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.703e-06/1.703e-06, allocations: 0 / 0.555 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.608e-05, allocations: 5.406 kB / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.00306/0.003096, allocations: 1.502 MB / 0.5565 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007889/0.003885, allocations: 487.7 kB / 0.557 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.003925, allocations: 0 / 0.557 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.003953, allocations: 3.938 kB / 0.557 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.717e-05/0.004021, allocations: 8 kB / 0.557 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.004241, allocations: 35.77 kB / 0.557 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.08e-05/0.004311, allocations: 23.94 kB / 0.557 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004413, allocations: 3.984 kB / 0.557 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.004496, allocations: 12 kB / 0.5571 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.468e-05/0.00453, allocations: 7.984 kB / 0.5571 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.004548, allocations: 4 kB / 0.5571 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.004609, allocations: 15.92 kB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.004624, allocations: 7.984 kB / 0.5571 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.004643, allocations: 4 kB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.004752, allocations: 35.84 kB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.004756, allocations: 0 / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004756, allocations: 0 / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.004762, allocations: 0 / 0.5571 GB, free: 14.72 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.000379/0.005141, allocations: 372.5 kB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.005182, allocations: 8.75 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.005222, allocations: 4.938 kB / 0.5575 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.422e-05/0.005317, allocations: 112.6 kB / 0.5576 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.005328, allocations: 384 / 0.5576 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.005352, allocations: 4.375 kB / 0.5576 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.005483, allocations: 54.95 kB / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.00549, allocations: 192 / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.005498, allocations: 384 / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.005506, allocations: 3.938 kB / 0.5577 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.158e-05/0.005538, allocations: 7.984 kB / 0.5577 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.005845, allocations: 247.8 kB / 0.5579 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.005895, allocations: 35.09 kB / 0.5579 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.005919, allocations: 7.75 kB / 0.5579 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.642e-05/0.006005, allocations: 8 kB / 0.558 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.00603, allocations: 37.33 kB / 0.558 GB, free: 13.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.006031, allocations: 4 kB / 0.558 GB, free: 13.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.006188, allocations: 45.62 kB / 0.558 GB, free: 13.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.006219, allocations: 51.41 kB / 0.5581 GB, free: 13.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.006301, allocations: 165.9 kB / 0.5582 GB, free: 13.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.006311, allocations: 25.7 kB / 0.5583 GB, free: 13.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.00636, allocations: 130.9 kB / 0.5584 GB, free: 13.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.006377, allocations: 7.953 kB / 0.5584 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.006404, allocations: 19.38 kB / 0.5584 GB, free: 13.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.006525, allocations: 496.1 kB / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.006544, allocations: 0 / 0.5589 GB, free: 12.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.006555, allocations: 8.109 kB / 0.5589 GB, free: 12.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.006586, allocations: 19.69 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006588, allocations: 3.938 kB / 0.5589 GB, free: 12.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.058e-05/0.006648, allocations: 41.59 kB / 0.559 GB, free: 12.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.006663, allocations: 7.938 kB / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.006667, allocations: 0 / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.00668, allocations: 0 / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.006754, allocations: 11.98 kB / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.006759, allocations: 0 / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.006775, allocations: 4.094 kB / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.006779, allocations: 0 / 0.559 GB, free: 12.61 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 6.411e-05/0.006844, allocations: 160.6 kB / 0.5591 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.006859, allocations: 3.938 kB / 0.5591 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-05/0.006952, allocations: 49.19 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.006953, allocations: 0 / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.006958, allocations: 4 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.006962, allocations: 7.984 kB / 0.5592 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.427e-05/0.007056, allocations: 116.6 kB / 0.5593 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007057, allocations: 0 / 0.5593 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.007084, allocations: 12.02 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.007086, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.007093, allocations: 3.938 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007095, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007095, allocations: 0 / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.209e-05/0.007188, allocations: 187.9 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.007195, allocations: 3.984 kB / 0.5595 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.007213, allocations: 7.938 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.009e-05/0.007243, allocations: 3.938 kB / 0.5595 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.007279, allocations: 4 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.007281, allocations: 8.031 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.007322, allocations: 127.2 kB / 0.5597 GB, free: 11.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.007322, allocations: 0 / 0.5597 GB, free: 11.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.007474, allocations: 4 kB / 0.5597 GB, free: 11.85 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.0001347/0.007609, allocations: 95.25 kB / 0.5598 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.574e-05/0.007694, allocations: 23.67 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007696, allocations: 0 / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.007713, allocations: 11.69 kB / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.007923, allocations: 12.06 kB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.008209, allocations: 121.3 kB / 0.5599 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.008247, allocations: 55.34 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.115e-05/0.008268, allocations: 4 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.00829, allocations: 8.5 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.008291, allocations: 0 / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of Templates: time 0.002708/0.011, allocations: 0.6182 MB / 0.5606 GB, free: 10.85 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.7875978408847004]