Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001352/0.001352, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2973/0.2973, allocations: 40 MB / 310.4 MB, free: 9.668 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.2. 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.0005095/0.0005096, allocations: 16 kB / 378.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1062, allocations: 57.96 MB / 436.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003227/0.1095, allocations: 2.98 MB / 439.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.1119, allocations: 1.341 MB / 441.1 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005179/0.1124, allocations: 23.88 kB / 441.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.1126, allocations: 47.39 kB / 441.2 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006596/0.1133, allocations: 163.4 kB / 441.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1144, allocations: 475.2 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.1155, allocations: 0.5863 MB / 442.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.1159, allocations: 232.6 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.1164, allocations: 290.7 kB / 442.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.1168, allocations: 290.3 kB / 443.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.1169, allocations: 24 kB / 443.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.309e-05/0.1169, allocations: 20 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.117, allocations: 111.4 kB / 443.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1171, allocations: 141.2 kB / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000453/0.1176, allocations: 0.565 MB / 444 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1176, allocations: 0 / 444 MB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1176, allocations: 0 / 444 MB, free: 11.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1176, allocations: 3.938 kB / 444 MB, free: 11.02 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.001922/0.1196, allocations: 1.133 MB / 445.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1196, allocations: 16.03 kB / 445.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.1197, allocations: 94.83 kB / 445.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.1204, allocations: 0.542 MB / 445.8 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.1205, allocations: 41 kB / 445.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.191e-05/0.1206, allocations: 55.91 kB / 445.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.1219, allocations: 0.7462 MB / 446.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1219, allocations: 0 / 446.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.122, allocations: 20 kB / 446.7 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.122, allocations: 15.94 kB / 446.7 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.1235, allocations: 0.644 MB / 447.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.1264, allocations: 2.337 MB / 449.7 MB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.1282, allocations: 0.823 MB / 450.5 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.1283, allocations: 12.44 kB / 450.5 MB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1283, allocations: 42.92 kB / 450.5 MB, free: 4.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.1283, allocations: 3.938 kB / 450.5 MB, free: 4.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004619/0.1329, allocations: 2.163 MB / 452.7 MB, free: 1.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.1331, allocations: 192.4 kB / 452.9 MB, free: 1.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006294/0.1337, allocations: 0.5708 MB / 453.5 MB, free: 1.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/0.1338, allocations: 37.7 kB / 453.5 MB, free: 1.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.134, allocations: 364.8 kB / 453.8 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.1341, allocations: 177.4 kB / 454 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.1342, allocations: 8 kB / 454 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1343, allocations: 326 kB / 454.3 MB, free: 276 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1748/0.3091, allocations: 338.8 kB / 454.7 MB, free: 48.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/0.3101, allocations: 467.8 kB / 455.1 MB, free: 48.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/0.3109, allocations: 356.4 kB / 455.5 MB, free: 48.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3109, allocations: 3.906 kB / 455.5 MB, free: 48.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001755/0.3126, allocations: 0.8891 MB / 456.4 MB, free: 48.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.3128, allocations: 0.8746 MB / 457.3 MB, free: 47.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3128, allocations: 6.156 kB / 457.3 MB, free: 47.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3128, allocations: 9.859 kB / 457.3 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/0.3136, allocations: 216.4 kB / 457.5 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3136, allocations: 9.5 kB / 457.5 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.3142, allocations: 105.1 kB / 457.6 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.3142, allocations: 23.34 kB / 457.6 MB, free: 47.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/0.3142, allocations: 2.906 kB / 457.6 MB, free: 47.21 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.3154, allocations: 0.6133 MB / 458.2 MB, free: 47.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3154, allocations: 3.25 kB / 458.2 MB, free: 47.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/0.3154, allocations: 6.062 kB / 458.2 MB, free: 47.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.316, allocations: 174.8 kB / 458.4 MB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.316, allocations: 13.44 kB / 458.4 MB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.3164, allocations: 74.83 kB / 458.5 MB, free: 47.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.3165, allocations: 16.19 kB / 458.5 MB, free: 47.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.3167, allocations: 271.9 kB / 458.8 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3168, allocations: 72.84 kB / 458.8 MB, free: 46.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.317, allocations: 87.64 kB / 458.9 MB, free: 46.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.317, allocations: 3.062 kB / 458.9 MB, free: 46.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.317, allocations: 7.812 kB / 458.9 MB, free: 46.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.317, allocations: 7.359 kB / 459 MB, free: 46.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.3193, allocations: 1.547 MB / 460.5 MB, free: 46.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3193, allocations: 3.219 kB / 460.5 MB, free: 46.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.32, allocations: 176 kB / 460.7 MB, free: 46.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.32, allocations: 3.312 kB / 460.7 MB, free: 46.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.32, allocations: 20.73 kB / 460.7 MB, free: 46.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.32, allocations: 3.953 kB / 460.7 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.32, allocations: 3.156 kB / 460.7 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.3224, allocations: 1.437 MB / 462.1 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.3226, allocations: 195.1 kB / 462.3 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/0.3227, allocations: 10.06 kB / 462.3 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.3233, allocations: 107.5 kB / 462.4 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.482e-05/0.3234, allocations: 44.34 kB / 462.5 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.3234, allocations: 16.03 kB / 462.5 MB, free: 46.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004156/0.3238, allocations: 405 kB / 462.9 MB, free: 46.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3238, allocations: 4.797 kB / 462.9 MB, free: 46.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006112/0.3245, allocations: 183.6 kB / 463.1 MB, free: 46.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001115/0.3246, allocations: 111.8 kB / 463.2 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.3268, allocations: 1.094 MB / 464.3 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3268, allocations: 3.219 kB / 464.3 MB, free: 45.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007673/0.3276, allocations: 405.5 kB / 464.7 MB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008025/0.3284, allocations: 173.8 kB / 464.9 MB, free: 45.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.3313, allocations: 1.81 MB / 466.7 MB, free: 45.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.3316, allocations: 0.9453 MB / 467.6 MB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.3319, allocations: 91.98 kB / 467.7 MB, free: 44.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.3321, allocations: 55.83 kB / 467.8 MB, free: 44.31 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3321, allocations: 0 / 467.8 MB, free: 44.31 MB / 382.1 MB Notification: Performance of Templates: time 0.01198/0.3441, allocations: 7.688 MB / 475.4 MB, free: 43.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) Environment - environmentSimulation: