Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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.0007599/0.0007599, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007377/0.0007377, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.875/0.875, allocations: 177.2 MB / 203.5 MB, free: 5.727 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.001475/0.001475, allocations: 238.6 kB / 260.2 MB, free: 13.01 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.6598/0.6598, allocations: 138.4 MB / 455.1 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6475 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.214e-05, allocations: 4.953 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.2717/0.2717, allocations: 1.774 MB / 0.6493 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2727, allocations: 0.6833 MB / 0.6499 GB, free: 56 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.2728, allocations: 3.5 kB / 0.6499 GB, free: 56 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.2728, allocations: 14.34 kB / 0.6499 GB, free: 55.99 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.2729, allocations: 18.7 kB / 0.65 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.2734, allocations: 181.1 kB / 0.6501 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.2736, allocations: 134.9 kB / 0.6503 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2737, allocations: 41.3 kB / 0.6503 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.2739, allocations: 84.83 kB / 0.6504 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.919e-05/0.274, allocations: 39.45 kB / 0.6504 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.274, allocations: 15.23 kB / 0.6504 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2741, allocations: 47.17 kB / 0.6505 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.2742, allocations: 30.25 kB / 0.6505 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.2742, allocations: 39.25 kB / 0.6506 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.2744, allocations: 170.5 kB / 0.6507 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2744, allocations: 1.844 kB / 0.6507 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2744, allocations: 0 / 0.6507 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2744, allocations: 0.5938 kB / 0.6507 GB, free: 55.84 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004604/0.2749, allocations: 368.5 kB / 0.6511 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2749, allocations: 11.28 kB / 0.6511 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005636/0.2755, allocations: 133.2 kB / 0.6512 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.2758, allocations: 163.4 kB / 0.6514 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.2758, allocations: 115.6 kB / 0.6515 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2759, allocations: 6.656 kB / 0.6515 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.2762, allocations: 221.9 kB / 0.6517 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2762, allocations: 0 / 0.6517 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.2762, allocations: 7.438 kB / 0.6517 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2762, allocations: 1.75 kB / 0.6517 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.2765, allocations: 163.6 kB / 0.6519 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.2771, allocations: 403.5 kB / 0.6522 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.2777, allocations: 212 kB / 0.6524 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.2778, allocations: 77.22 kB / 0.6525 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.2779, allocations: 3.828 kB / 0.6525 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.2779, allocations: 34.62 kB / 0.6526 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.2779, allocations: 0 / 0.6526 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0005739/0.2785, allocations: 264 kB / 0.6528 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.2785, allocations: 58.53 kB / 0.6529 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.2786, allocations: 144.7 kB / 0.653 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2786, allocations: 29.52 kB / 0.653 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.2786, allocations: 115.4 kB / 0.6531 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.2786, allocations: 16.33 kB / 0.6532 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.2787, allocations: 27.09 kB / 0.6532 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.2787, allocations: 323 kB / 0.6535 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.2789, allocations: 75.31 kB / 0.6536 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.2791, allocations: 92.14 kB / 0.6536 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/0.2794, allocations: 165 kB / 0.6538 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2794, allocations: 0 / 0.6538 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000361/0.2797, allocations: 208.2 kB / 0.654 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2798, allocations: 5.312 kB / 0.654 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2798, allocations: 3.688 kB / 0.654 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2798, allocations: 8.5 kB / 0.654 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.2799, allocations: 35.3 kB / 0.6541 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.2799, allocations: 0 / 0.6541 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.28, allocations: 22.47 kB / 0.6541 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.28, allocations: 3.984 kB / 0.6541 GB, free: 54.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.553e-05/0.2801, allocations: 131.9 kB / 0.6542 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.2801, allocations: 7.609 kB / 0.6542 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.2805, allocations: 203.7 kB / 0.6544 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.2805, allocations: 5.625 kB / 0.6544 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2805, allocations: 0.9375 kB / 0.6544 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2805, allocations: 3.844 kB / 0.6544 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.2807, allocations: 154.2 kB / 0.6546 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2807, allocations: 1.531 kB / 0.6546 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.2808, allocations: 36.09 kB / 0.6546 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2808, allocations: 0 / 0.6546 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2808, allocations: 2.734 kB / 0.6546 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2808, allocations: 5.016 kB / 0.6546 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2808, allocations: 6.969 kB / 0.6546 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.2812, allocations: 282.5 kB / 0.6549 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.2812, allocations: 6.297 kB / 0.6549 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2812, allocations: 3 kB / 0.6549 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2813, allocations: 36.36 kB / 0.6549 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.2814, allocations: 9.156 kB / 0.6549 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2814, allocations: 7.438 kB / 0.6549 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.2814, allocations: 109.2 kB / 0.655 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2814, allocations: 0 / 0.655 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001772/0.2816, allocations: 31.39 kB / 0.6551 GB, free: 53.46 MB / 0.5573 GB 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 (6): * Single equations (assignments): 6 * 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.0001243/0.2817, allocations: 98.62 kB / 0.6552 GB, free: 53.36 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.2821, allocations: 163.1 kB / 0.6553 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2821, allocations: 0 / 0.6553 GB, free: 53.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.2823, allocations: 83.94 kB / 0.6554 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.2825, allocations: 15.78 kB / 0.6554 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.2829, allocations: 287.7 kB / 0.6557 GB, free: 53.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.283, allocations: 93.55 kB / 0.6558 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.2831, allocations: 18.47 kB / 0.6558 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.2831, allocations: 0 / 0.6558 GB, free: 53.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.002753/0.2858, allocations: 1.683 MB / 0.6574 GB, free: 52.93 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.174515378661454] Failed to read output from testmodel.py, exit status != 0: 0.2911618212237954 0.298848296 0.022879864 Calling exit ...