Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008939/0.008939, allocations: 101.3 kB / 15.73 MB, free: 6.035 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.001245/0.001245, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.644/1.644, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.406/0.406, allocations: 38 MB / 307.9 MB, free: 10.15 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.002463/0.002463, allocations: 71.91 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3771, allocations: 56.46 MB / 489.4 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004472/0.3816, allocations: 3.558 MB / 493 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.3848, allocations: 1.427 MB / 494.4 MB, free: 16.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006181/0.3855, allocations: 29.28 kB / 494.5 MB, free: 16.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.3859, allocations: 116 kB / 494.6 MB, free: 16.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005841/0.3865, allocations: 171.6 kB / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.3879, allocations: 0.6048 MB / 495.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.3892, allocations: 0.9461 MB / 496.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005215/0.3897, allocations: 305.6 kB / 496.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.3903, allocations: 377.9 kB / 497 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.3907, allocations: 365 kB / 497.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.3909, allocations: 72.34 kB / 497.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.391, allocations: 72.5 kB / 497.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.3912, allocations: 172.2 kB / 497.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.3915, allocations: 374.6 kB / 498 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3926, allocations: 0.8476 MB / 498.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3926, allocations: 0 / 498.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3927, allocations: 1.375 kB / 498.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.3927, allocations: 0 / 498.8 MB, free: 13.98 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002174/0.3948, allocations: 1.204 MB / 0.4883 GB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3949, allocations: 13.7 kB / 0.4883 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.3951, allocations: 97.28 kB / 0.4884 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009684/0.396, allocations: 0.6207 MB / 0.489 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.3961, allocations: 37.44 kB / 0.4891 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.803e-05/0.3962, allocations: 52.39 kB / 0.4891 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.3977, allocations: 0.7002 MB / 0.4898 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.3977, allocations: 5.984 kB / 0.4898 GB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.3978, allocations: 21.03 kB / 0.4898 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.3978, allocations: 16.41 kB / 0.4898 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/0.3992, allocations: 0.5573 MB / 0.4904 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.4025, allocations: 2.292 MB / 0.4926 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.404, allocations: 0.7064 MB / 0.4933 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/0.4048, allocations: 325.2 kB / 0.4936 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.074e-05/0.4049, allocations: 18.52 kB / 0.4936 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4049, allocations: 38.23 kB / 0.4937 GB, free: 10.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.136e-06/0.4049, allocations: 1.312 kB / 0.4937 GB, free: 10.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004404/0.4093, allocations: 1.934 MB / 0.4956 GB, free: 9.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.4094, allocations: 187.2 kB / 0.4957 GB, free: 9.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/0.4102, allocations: 0.588 MB / 0.4963 GB, free: 8.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.4102, allocations: 39.98 kB / 0.4964 GB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/0.4105, allocations: 365.8 kB / 0.4967 GB, free: 8.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4106, allocations: 176.9 kB / 0.4969 GB, free: 8.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000182/0.4108, allocations: 108.2 kB / 0.497 GB, free: 8.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.4109, allocations: 324.2 kB / 0.4973 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007587/0.4116, allocations: 307.5 kB / 0.4976 GB, free: 7.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.4124, allocations: 420 kB / 0.498 GB, free: 7.621 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.4138, allocations: 0.6443 MB / 0.4986 GB, free: 7.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4138, allocations: 0.9062 kB / 0.4986 GB, free: 7.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001835/0.4157, allocations: 0.799 MB / 0.4994 GB, free: 6.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4157, allocations: 6.531 kB / 0.4994 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.4157, allocations: 2.5 kB / 0.4994 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.327e-05/0.4158, allocations: 7.844 kB / 0.4994 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008315/0.4166, allocations: 193.1 kB / 0.4996 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/0.4167, allocations: 9.844 kB / 0.4996 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.4173, allocations: 77.17 kB / 0.4997 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.4174, allocations: 27.08 kB / 0.4997 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008158/0.4182, allocations: 356.1 kB / 0.5 GB, free: 6.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006537/0.4189, allocations: 355.1 kB / 0.5004 GB, free: 6.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001162/0.42, allocations: 0.5438 MB / 0.5009 GB, free: 5.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.522e-06/0.42, allocations: 1.094 kB / 0.5009 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001684/0.4217, allocations: 0.661 MB / 0.5016 GB, free: 5.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4218, allocations: 6.594 kB / 0.5016 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.4218, allocations: 6.312 kB / 0.5016 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4218, allocations: 6.125 kB / 0.5016 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.4225, allocations: 160.4 kB / 0.5017 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.4225, allocations: 8.375 kB / 0.5017 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.423, allocations: 62.52 kB / 0.5018 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.4231, allocations: 22.61 kB / 0.5018 GB, free: 5.586 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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 0.0002379/0.4233, allocations: 214 kB / 0.502 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.4235, allocations: 74.44 kB / 0.5021 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.4238, allocations: 87.28 kB / 0.5022 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.4238, allocations: 9.219 kB / 0.5022 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/0.4238, allocations: 1.094 kB / 0.5022 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4238, allocations: 5.078 kB / 0.5022 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.427, allocations: 1.455 MB / 0.5036 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.427, allocations: 1.375 kB / 0.5036 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007023/0.4277, allocations: 153.6 kB / 0.5038 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.4277, allocations: 3.094 kB / 0.5038 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/0.4278, allocations: 11.8 kB / 0.5038 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.4278, allocations: 6.531 kB / 0.5038 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4278, allocations: 1.188 kB / 0.5038 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.4304, allocations: 1.258 MB / 0.505 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.4307, allocations: 189.3 kB / 0.5052 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4309, allocations: 11.88 kB / 0.5052 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.4314, allocations: 77.36 kB / 0.5053 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.4316, allocations: 50.28 kB / 0.5053 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.4316, allocations: 14.55 kB / 0.5053 GB, free: 3.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005998/0.4322, allocations: 410.3 kB / 0.5057 GB, free: 2.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4323, allocations: 0 / 0.5057 GB, free: 2.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009416/0.4332, allocations: 182.4 kB / 0.5059 GB, free: 2.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.0001674/0.4334, allocations: 114.8 kB / 0.506 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.4364, allocations: 0.9831 MB / 0.507 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.4364, allocations: 0 / 0.507 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000961/0.4374, allocations: 355.9 kB / 0.5073 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.4385, allocations: 202 kB / 0.5075 GB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.442, allocations: 1.511 MB / 0.509 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.4424, allocations: 0.9237 MB / 0.5099 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005191/0.443, allocations: 103.9 kB / 0.51 GB, free: 468 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.4432, allocations: 59.28 kB / 0.51 GB, free: 452 kB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4432, allocations: 0 / 0.51 GB, free: 452 kB / 382.1 MB Notification: Performance of Templates: time 0.02028/0.4635, allocations: 8.804 MB / 0.5186 GB, free: 9.164 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)