Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.001824/0.001824, allocations: 85.48 kB / 19.44 MB, free: 340 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.001995/0.001995, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] 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.07166/0.07166, allocations: 8.605 MB / 268.2 MB, free: 4.82 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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 340.1 MB, free: 8.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.087e-05, allocations: 2.312 kB / 340.1 MB, free: 8.742 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003206/0.003237, allocations: 2.194 MB / 342.3 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.004335, allocations: 0.6987 MB / 343 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.004492, allocations: 27.69 kB / 343.1 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.004699, allocations: 63.33 kB / 343.1 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.004906, allocations: 55.47 kB / 343.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.005595, allocations: 407 kB / 343.6 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.006067, allocations: 0.5359 MB / 344.1 MB, free: 4.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.006245, allocations: 69.22 kB / 344.2 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002941/0.006539, allocations: 279.3 kB / 344.5 MB, free: 4.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.006773, allocations: 167.4 kB / 344.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.006837, allocations: 32 kB / 344.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.006892, allocations: 36 kB / 344.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.007018, allocations: 143.5 kB / 344.8 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.007125, allocations: 123.6 kB / 344.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.007511, allocations: 446.4 kB / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.007515, allocations: 0 / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007516, allocations: 0 / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.007524, allocations: 4 kB / 345.4 MB, free: 3.477 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0012/0.008724, allocations: 0.8657 MB / 346.3 MB, free: 2.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.008759, allocations: 8.031 kB / 346.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.008888, allocations: 92.56 kB / 346.3 MB, free: 2.469 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.009403, allocations: 389 kB / 346.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.009473, allocations: 96.89 kB / 346.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.009534, allocations: 44.38 kB / 346.9 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.01007, allocations: 458.1 kB / 347.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.01009, allocations: 4.141 kB / 347.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.01012, allocations: 20.36 kB / 347.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.01013, allocations: 20.12 kB / 347.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.01056, allocations: 259.7 kB / 347.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.01373, allocations: 2.27 MB / 349.9 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.01449, allocations: 235.8 kB / 350.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.01474, allocations: 121 kB / 350.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.01479, allocations: 12.22 kB / 350.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.01483, allocations: 41.67 kB / 350.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.01484, allocations: 0 / 350.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008865/0.01572, allocations: 373.9 kB / 350.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.01579, allocations: 55.41 kB / 350.7 MB, free: 13.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006073/0.0164, allocations: 494.5 kB / 351.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.01644, allocations: 29.7 kB / 351.2 MB, free: 13.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.01678, allocations: 339.2 kB / 351.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.01693, allocations: 134.9 kB / 351.7 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.01712, allocations: 119.8 kB / 351.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003558/0.01747, allocations: 0.5508 MB / 352.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.01771, allocations: 89.11 kB / 352.4 MB, free: 12.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.01813, allocations: 310.8 kB / 352.7 MB, free: 11.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.01906, allocations: 0.5469 MB / 353.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.01906, allocations: 0 / 353.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008575/0.01992, allocations: 473.2 kB / 353.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.01994, allocations: 8 kB / 353.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.01995, allocations: 4 kB / 353.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/0.01998, allocations: 8.594 kB / 353.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.02055, allocations: 127.8 kB / 353.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.02057, allocations: 11.94 kB / 353.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.0208, allocations: 55.61 kB / 354 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.02083, allocations: 20 kB / 354 MB, free: 10.41 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: 20 * 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 (65): * Single equations (assignments): 65 * 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.0003143/0.02115, allocations: 226.4 kB / 354.2 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.472e-05/0.02124, allocations: 59.64 kB / 354.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.022, allocations: 341.5 kB / 354.6 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.022, allocations: 4 kB / 354.6 MB, free: 9.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.02201, allocations: 4 kB / 354.6 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.02202, allocations: 3.984 kB / 354.6 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.0226, allocations: 376.3 kB / 355 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.0226, allocations: 0 / 355 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.02317, allocations: 95.88 kB / 355.1 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.02318, allocations: 3.938 kB / 355.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.02322, allocations: 15.98 kB / 355.1 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.02323, allocations: 4 kB / 355.1 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02323, allocations: 0 / 355.1 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009489/0.02418, allocations: 0.5867 MB / 355.7 MB, free: 8.629 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.02427, allocations: 43.59 kB / 355.7 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.02435, allocations: 15.94 kB / 355.7 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.02461, allocations: 15.98 kB / 355.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.02469, allocations: 19.95 kB / 355.8 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.02472, allocations: 12 kB / 355.8 MB, free: 8.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003337/0.02505, allocations: 295.1 kB / 356.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02505, allocations: 0 / 356.1 MB, free: 8.238 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.02546, allocations: 87.84 kB / 356.1 MB, free: 8.152 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0003852/0.02585, allocations: 113.1 kB / 356.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006549/0.0265, allocations: 313.4 kB / 356.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.0265, allocations: 0 / 356.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.02677, allocations: 152 kB / 356.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.02717, allocations: 50.34 kB / 356.8 MB, free: 7.523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.02885, allocations: 0.892 MB / 357.7 MB, free: 6.594 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.02917, allocations: 264.2 kB / 357.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.02942, allocations: 83.23 kB / 358 MB, free: 6.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.02953, allocations: 36.5 kB / 358 MB, free: 6.191 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.02953, allocations: 4 kB / 358 MB, free: 6.188 MB / 282.7 MB Notification: Performance of Templates: time 0.008298/0.03782, allocations: 2.625 MB / 360.7 MB, free: 3.59 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.576911353971809]