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.001125/0.001125, allocations: 93.06 kB / 19.65 MB, free: 280 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.004349/0.004349, 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.9551/0.9551, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.04029/0.04029, allocations: 8.611 MB / 268.6 MB, free: 4.91 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 1.563e-06/1.563e-06, allocations: 0 / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.749e-05, allocations: 2.312 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002549/0.002577, allocations: 2.229 MB / 343.1 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.003624, allocations: 0.6948 MB / 343.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.003864, allocations: 27.69 kB / 343.8 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.00408, allocations: 71.31 kB / 343.9 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.004304, allocations: 55.41 kB / 343.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.005002, allocations: 403.1 kB / 344.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.005455, allocations: 0.532 MB / 344.9 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.00561, allocations: 69.22 kB / 344.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.005842, allocations: 283.3 kB / 345.2 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.00601, allocations: 159.5 kB / 345.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.006063, allocations: 36 kB / 345.4 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.511e-05/0.006098, allocations: 32 kB / 345.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.922e-05/0.006187, allocations: 151.5 kB / 345.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.006268, allocations: 127.5 kB / 345.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.006537, allocations: 322.6 kB / 346 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.00654, allocations: 0 / 346 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006542, allocations: 0 / 346 MB, free: 3.211 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.00655, allocations: 4 kB / 346 MB, free: 3.207 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.0007679/0.007318, allocations: 0.8503 MB / 346.9 MB, free: 2.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.007354, allocations: 8.031 kB / 346.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.441e-05/0.007449, allocations: 96.52 kB / 347 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.007798, allocations: 393 kB / 347.4 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.007859, allocations: 84.97 kB / 347.5 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.007908, allocations: 44.38 kB / 347.5 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.008293, allocations: 418.8 kB / 347.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.00831, allocations: 12.12 kB / 347.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.008334, allocations: 20.38 kB / 347.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.008345, allocations: 12.12 kB / 347.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.008574, allocations: 189.7 kB / 348.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.01022, allocations: 2.173 MB / 350.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.01066, allocations: 204.7 kB / 350.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.01078, allocations: 96.2 kB / 350.6 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.0108, allocations: 12.22 kB / 350.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.01083, allocations: 41.66 kB / 350.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.01083, allocations: 4 kB / 350.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004313/0.01126, allocations: 301.9 kB / 350.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.01129, allocations: 59.41 kB / 351 MB, free: 13.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.01156, allocations: 430.5 kB / 351.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.01157, allocations: 29.7 kB / 351.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.01171, allocations: 319.2 kB / 351.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.01178, allocations: 138.8 kB / 351.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.01187, allocations: 103.8 kB / 352 MB, free: 12.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.01202, allocations: 0.5313 MB / 352.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.01212, allocations: 65.11 kB / 352.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.01229, allocations: 263.6 kB / 352.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.01269, allocations: 452.2 kB / 353.3 MB, free: 11.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.0127, allocations: 4 kB / 353.3 MB, free: 11.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004147/0.01311, allocations: 413.3 kB / 353.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01313, allocations: 4 kB / 353.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.01314, allocations: 4 kB / 353.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.01315, allocations: 8 kB / 353.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.01343, allocations: 119.8 kB / 353.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.01344, allocations: 16.42 kB / 353.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01355, allocations: 55.62 kB / 353.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.01357, allocations: 23.94 kB / 353.9 MB, free: 10.82 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.0001694/0.01374, allocations: 214.3 kB / 354.1 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.01379, allocations: 55.66 kB / 354.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.01415, allocations: 301.5 kB / 354.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01416, allocations: 4 kB / 354.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01416, allocations: 0 / 354.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.01417, allocations: 7.984 kB / 354.5 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.01445, allocations: 328.3 kB / 354.8 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01445, allocations: 4 kB / 354.8 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.01474, allocations: 91.88 kB / 354.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.01474, allocations: 7.938 kB / 354.9 MB, free: 9.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.01477, allocations: 15.98 kB / 354.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.01477, allocations: 3.938 kB / 354.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01477, allocations: 0 / 354.9 MB, free: 9.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.01522, allocations: 0.497 MB / 355.4 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.01526, allocations: 39.66 kB / 355.5 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.01529, allocations: 19.94 kB / 355.5 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.01537, allocations: 15.98 kB / 355.5 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.01543, allocations: 23.95 kB / 355.5 MB, free: 9.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.01544, allocations: 8 kB / 355.5 MB, free: 9.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.01559, allocations: 267.1 kB / 355.8 MB, free: 8.863 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01559, allocations: 0 / 355.8 MB, free: 8.863 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01584, allocations: 87.78 kB / 355.9 MB, free: 8.777 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 9.401e-05/0.01594, allocations: 107.2 kB / 356 MB, free: 8.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.01625, allocations: 256.4 kB / 356.2 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01625, allocations: 0 / 356.2 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.01637, allocations: 119.9 kB / 356.4 MB, free: 8.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01664, allocations: 50.12 kB / 356.4 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.01758, allocations: 0.8659 MB / 357.3 MB, free: 7.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.01767, allocations: 141.6 kB / 357.4 MB, free: 7.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.01781, allocations: 83.33 kB / 357.5 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.01788, allocations: 32.5 kB / 357.5 MB, free: 7.062 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01788, allocations: 3.938 kB / 357.5 MB, free: 7.059 MB / 282.7 MB Notification: Performance of Templates: time 0.005397/0.02328, allocations: 2.693 MB / 360.2 MB, free: 4.391 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: 2.8989101853221655]