Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_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.001532/0.001532, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001864/0.001864, allocations: 169 kB / 23.02 MB, free: 1.551 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.9777/0.9777, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04833/0.04833, allocations: 8.617 MB / 268.6 MB, free: 4.914 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.902e-05, allocations: 6.25 kB / 340.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002048/0.002067, allocations: 2.174 MB / 343.1 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.002826, allocations: 447.9 kB / 343.5 MB, free: 5.758 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.002992, allocations: 15.81 kB / 343.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.003256, allocations: 71.27 kB / 343.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.003366, allocations: 39.55 kB / 343.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006391/0.004005, allocations: 271.4 kB / 343.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.004395, allocations: 448.2 kB / 344.3 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.004552, allocations: 65.23 kB / 344.4 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.004711, allocations: 199.5 kB / 344.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.004863, allocations: 139.5 kB / 344.7 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.00491, allocations: 28 kB / 344.7 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.608e-05/0.004946, allocations: 28 kB / 344.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.005041, allocations: 139.5 kB / 344.9 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.005124, allocations: 103.7 kB / 345 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.005377, allocations: 286.7 kB / 345.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00538, allocations: 0 / 345.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00538, allocations: 0 / 345.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.005386, allocations: 0 / 345.3 MB, free: 3.957 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.0007255/0.006111, allocations: 0.7687 MB / 346.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.006146, allocations: 8.031 kB / 346.1 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.108e-05/0.006237, allocations: 84.61 kB / 346.1 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.006599, allocations: 346.7 kB / 346.5 MB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.006642, allocations: 25.38 kB / 346.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.0067, allocations: 48.36 kB / 346.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.007119, allocations: 382.2 kB / 346.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.007138, allocations: 12.14 kB / 346.9 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.007164, allocations: 16.38 kB / 347 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.007177, allocations: 8.375 kB / 347 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.007428, allocations: 159.6 kB / 347.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.00885, allocations: 2.03 MB / 349.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.009121, allocations: 111 kB / 349.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.009213, allocations: 60.27 kB / 349.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.00924, allocations: 4 kB / 349.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.009266, allocations: 41.33 kB / 349.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.009267, allocations: 0 / 349.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003659/0.009633, allocations: 196 kB / 349.6 MB, free: 15.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.009662, allocations: 59.34 kB / 349.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.00998, allocations: 414.5 kB / 350 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.009999, allocations: 29.7 kB / 350 MB, free: 14.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.01017, allocations: 318.8 kB / 350.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.01023, allocations: 87.27 kB / 350.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.01033, allocations: 87.34 kB / 350.5 MB, free: 14.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.01048, allocations: 0.5274 MB / 351.1 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.01057, allocations: 40.47 kB / 351.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.01076, allocations: 252 kB / 351.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.01116, allocations: 400.3 kB / 351.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.01117, allocations: 3.938 kB / 351.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004308/0.0116, allocations: 329.4 kB / 352.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.01162, allocations: 10.19 kB / 352.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.01163, allocations: 4 kB / 352.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.01165, allocations: 8 kB / 352.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.0119, allocations: 95.83 kB / 352.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01191, allocations: 4 kB / 352.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.01205, allocations: 47.72 kB / 352.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.01207, allocations: 20 kB / 352.2 MB, free: 12.51 MB / 282.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 ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) 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 ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) 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 ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) 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_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_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.0001644/0.01224, allocations: 218.3 kB / 352.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.01229, allocations: 39.77 kB / 352.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003158/0.0126, allocations: 197.1 kB / 352.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01261, allocations: 4 kB / 352.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01261, allocations: 4 kB / 352.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01261, allocations: 0 / 352.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.0129, allocations: 288.4 kB / 353 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.0129, allocations: 7.875 kB / 353 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.01312, allocations: 55.95 kB / 353 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01312, allocations: 0 / 353 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.01315, allocations: 8 kB / 353 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01315, allocations: 0 / 353 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01315, allocations: 4 kB / 353 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.01352, allocations: 383.4 kB / 353.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.01356, allocations: 39.64 kB / 353.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.01359, allocations: 8 kB / 353.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.01368, allocations: 11.98 kB / 353.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.01373, allocations: 11.97 kB / 353.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.01374, allocations: 11.98 kB / 353.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.01394, allocations: 251.1 kB / 353.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01394, allocations: 3.938 kB / 353.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.01428, allocations: 79.78 kB / 353.8 MB, free: 10.85 MB / 282.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 7.964e-05/0.01436, allocations: 107.2 kB / 353.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.01464, allocations: 180.2 kB / 354.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01464, allocations: 1.312 kB / 354.1 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.01473, allocations: 73.83 kB / 354.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.01504, allocations: 41.42 kB / 354.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.01595, allocations: 0.7157 MB / 354.9 MB, free: 9.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.072e-05/0.01604, allocations: 132.4 kB / 355.1 MB, free: 9.543 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.01617, allocations: 55.23 kB / 355.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.01624, allocations: 36.48 kB / 355.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01624, allocations: 0 / 355.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of Templates: time 0.005281/0.02152, allocations: 2.122 MB / 357.3 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9191403039731085]