Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006131/0.006131, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 196.1 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.362/0.362, allocations: 37.99 MB / 307.9 MB, free: 10.09 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 68.56 kB / 433 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3838, allocations: 56.46 MB / 489.4 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003122/0.3869, allocations: 1.671 MB / 491.1 MB, free: 18.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3881, allocations: 0.6169 MB / 491.7 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3883, allocations: 7.156 kB / 491.7 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.3883, allocations: 9.703 kB / 491.7 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.3885, allocations: 24.34 kB / 491.8 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.3889, allocations: 120.1 kB / 491.9 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.3892, allocations: 146.8 kB / 492 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.3894, allocations: 45.98 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.3895, allocations: 65.67 kB / 492.1 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.3897, allocations: 61.02 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.3897, allocations: 12.19 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.3897, allocations: 12.66 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.3898, allocations: 34.83 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.768e-05/0.3899, allocations: 67.11 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.3901, allocations: 131 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3901, allocations: 0 / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3901, allocations: 0.7188 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.3901, allocations: 0 / 492.4 MB, free: 17.96 MB / 382.1 MB 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.0007147/0.3909, allocations: 453.7 kB / 492.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3909, allocations: 12.64 kB / 492.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.391, allocations: 20.81 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3913, allocations: 236 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.3913, allocations: 7.625 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.3914, allocations: 9.5 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.3918, allocations: 173.8 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3918, allocations: 5.016 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.3919, allocations: 1.312 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3919, allocations: 2.219 kB / 493.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.3923, allocations: 124.6 kB / 493.5 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.3931, allocations: 448.1 kB / 493.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.3937, allocations: 188.6 kB / 494.1 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.3939, allocations: 76.06 kB / 494.2 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3939, allocations: 5.812 kB / 494.2 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.394, allocations: 38.05 kB / 494.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.394, allocations: 0 / 494.2 MB, free: 16.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001438/0.3954, allocations: 0.5626 MB / 494.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.3955, allocations: 109.7 kB / 494.9 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3956, allocations: 164.1 kB / 495 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3957, allocations: 26.86 kB / 495.1 MB, free: 16.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.3957, allocations: 109.3 kB / 495.2 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.3958, allocations: 38.27 kB / 495.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.3958, allocations: 30.97 kB / 495.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.3959, allocations: 321.3 kB / 495.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.3961, allocations: 75.17 kB / 495.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.3964, allocations: 101.1 kB / 495.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003943/0.3968, allocations: 138.1 kB / 495.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3968, allocations: 1.156 kB / 495.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004735/0.3973, allocations: 186.6 kB / 496 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3973, allocations: 5 kB / 496.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3973, allocations: 1.156 kB / 496.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3973, allocations: 4 kB / 496.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3975, allocations: 43.23 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3975, allocations: 5.062 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3977, allocations: 21.7 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.3977, allocations: 2.641 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001382/0.3979, allocations: 121.1 kB / 496.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000114/0.398, allocations: 58.44 kB / 496.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001749/0.3982, allocations: 78.83 kB / 496.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.3982, allocations: 1.125 kB / 496.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002385/0.3984, allocations: 115.9 kB / 496.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.3984, allocations: 9.938 kB / 496.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-06/0.3984, allocations: 0.7031 kB / 496.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-06/0.3985, allocations: 1.219 kB / 496.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.3986, allocations: 28.88 kB / 496.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3986, allocations: 5.734 kB / 496.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.3987, allocations: 11.81 kB / 496.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.3987, allocations: 2.906 kB / 496.6 MB, free: 15.23 MB / 382.1 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 (10): * Single equations (assignments): 10 * 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 8.837e-05/0.3988, allocations: 188.2 kB / 496.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.3988, allocations: 22.95 kB / 496.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.3989, allocations: 13.84 kB / 496.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3989, allocations: 6.375 kB / 496.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.3989, allocations: 4 kB / 496.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3989, allocations: 0.7031 kB / 496.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008572/0.3998, allocations: 0.5076 MB / 497.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3998, allocations: 3.938 kB / 497.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.4, allocations: 42.16 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4, allocations: 1.094 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4, allocations: 1.922 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4, allocations: 5.156 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4, allocations: 1.703 kB / 497.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007134/0.4008, allocations: 358.2 kB / 497.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.4008, allocations: 89.39 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.4008, allocations: 6.75 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.401, allocations: 29.34 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4011, allocations: 14.06 kB / 497.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4011, allocations: 4.156 kB / 497.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.4012, allocations: 129.2 kB / 498 MB, free: 14.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4012, allocations: 3.938 kB / 498 MB, free: 14.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.4015, allocations: 32.69 kB / 498 MB, free: 14.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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 9.105e-05/0.4016, allocations: 102.4 kB / 498.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006285/0.4022, allocations: 195.3 kB / 498.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4023, allocations: 1.344 kB / 498.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.4025, allocations: 77.73 kB / 498.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.4029, allocations: 38.58 kB / 498.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/0.4035, allocations: 292 kB / 498.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.4037, allocations: 0.7103 MB / 499.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.105e-05/0.4038, allocations: 16.59 kB / 499.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.4038, allocations: 20.5 kB / 499.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4039, allocations: 0 / 499.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.006138/0.41, allocations: 2.2 MB / 0.4899 GB, free: 12.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1)