Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias.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.0008227/0.0008227, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009184/0.001741, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007127/0.0007127, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008292/0.001542, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 1.054/1.054, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08831/1.142, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04086/0.04086, allocations: 9.79 MB / 253.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006691/0.04755, allocations: 3.472 MB / 257.2 MB, free: 2.125 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-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(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 258.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.194e-05, allocations: 5.688 kB / 258.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002539/0.002561, allocations: 2.213 MB / 260.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006183/0.003179, allocations: 471.5 kB / 261.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.003303, allocations: 15.81 kB / 261.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.003449, allocations: 71.31 kB / 261.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.211e-05/0.003531, allocations: 43.48 kB / 261.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.003937, allocations: 271.4 kB / 261.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.004282, allocations: 428.3 kB / 262 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.004431, allocations: 77.14 kB / 262.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.004608, allocations: 203.6 kB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.004759, allocations: 143.5 kB / 262.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.004802, allocations: 28 kB / 262.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.961e-05/0.004831, allocations: 28 kB / 262.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.004915, allocations: 107.6 kB / 262.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.004987, allocations: 79.69 kB / 262.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.005227, allocations: 262.8 kB / 262.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/0.005246, allocations: 0 / 262.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005247, allocations: 0 / 262.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.005264, allocations: 4 kB / 262.9 MB, free: 12.41 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0007149/0.005979, allocations: 0.6944 MB / 263.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.006009, allocations: 16.03 kB / 263.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.006076, allocations: 60.89 kB / 263.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.006389, allocations: 321.3 kB / 264 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.006423, allocations: 29.38 kB / 264 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.006469, allocations: 44.3 kB / 264.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.006782, allocations: 351.4 kB / 264.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.006797, allocations: 192 / 264.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.006816, allocations: 16.38 kB / 264.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.006825, allocations: 8.375 kB / 264.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.00696, allocations: 131.2 kB / 264.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.008053, allocations: 1.412 MB / 266 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.008301, allocations: 145.2 kB / 266.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.008351, allocations: 48.81 kB / 266.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.008381, allocations: 4 kB / 266.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.008404, allocations: 30.56 kB / 266.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.008406, allocations: 0 / 266.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002101/0.008616, allocations: 141.9 kB / 266.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.008643, allocations: 55.41 kB / 266.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.008819, allocations: 343.1 kB / 266.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.008831, allocations: 25.7 kB / 266.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.008921, allocations: 240.6 kB / 267 MB, free: 8.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.008961, allocations: 87.25 kB / 267.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.009026, allocations: 85.38 kB / 267.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.009112, allocations: 350.7 kB / 267.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.009153, allocations: 35.31 kB / 267.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.009254, allocations: 192.6 kB / 267.7 MB, free: 7.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.009476, allocations: 304.2 kB / 268 MB, free: 6.926 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.00948, allocations: 4 kB / 268 MB, free: 6.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002198/0.009699, allocations: 241.1 kB / 268.3 MB, free: 6.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.009714, allocations: 8 kB / 268.3 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.009722, allocations: 4 kB / 268.3 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.009736, allocations: 11.94 kB / 268.3 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.01002, allocations: 119.4 kB / 268.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.01003, allocations: 15.92 kB / 268.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.01012, allocations: 51.67 kB / 268.5 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.01013, allocations: 16 kB / 268.5 MB, free: 6.461 MB / 266.7 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) \"Delayed input vector\" type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) \"Delayed input vector\" type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) \"Delayed input vector\" type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) \"State variable vector (canonical form)\" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (R.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.0001584/0.01029, allocations: 170.8 kB / 268.6 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.01032, allocations: 23.98 kB / 268.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.01051, allocations: 156.4 kB / 268.8 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01051, allocations: 4 kB / 268.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01052, allocations: 0 / 268.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.01052, allocations: 3.984 kB / 268.8 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.01071, allocations: 193.5 kB / 269 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01071, allocations: 0 / 269 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.01092, allocations: 79.88 kB / 269.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.01095, allocations: 39.69 kB / 269.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01095, allocations: 7.938 kB / 269.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.01097, allocations: 7.984 kB / 269.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01097, allocations: 4 kB / 269.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01098, allocations: 0 / 269.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.01121, allocations: 306.1 kB / 269.4 MB, free: 5.434 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.01123, allocations: 11.94 kB / 269.5 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.98e-05/0.01129, allocations: 11.92 kB / 269.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.01133, allocations: 15.97 kB / 269.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.01134, allocations: 4 kB / 269.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.976e-05/0.01142, allocations: 132.7 kB / 269.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01142, allocations: 0 / 269.6 MB, free: 5.262 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002003/0.01162, allocations: 75.78 kB / 269.7 MB, free: 5.188 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (23): * Single equations (assignments): 23 * 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.01e-05/0.01171, allocations: 84.41 kB / 269.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.01188, allocations: 158.6 kB / 269.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.01189, allocations: 12.06 kB / 269.9 MB, free: 4.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.01195, allocations: 66.88 kB / 270 MB, free: 4.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.01213, allocations: 52.3 kB / 270.1 MB, free: 4.816 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008613/0.013, allocations: 0.7185 MB / 270.8 MB, free: 4.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.97e-05/0.01307, allocations: 128.5 kB / 270.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.874e-05/0.01315, allocations: 43.27 kB / 270.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.189e-05/0.01325, allocations: 95.36 kB / 271 MB, free: 3.785 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01325, allocations: 0 / 271 MB, free: 3.785 MB / 266.7 MB Notification: Performance of Templates: time 0.00485/0.0181, allocations: 2.407 MB / 273.4 MB, free: 1.418 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.545274934731424]