Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.001028/0.001028, 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.001112/0.001112, 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.9796/0.9796, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.03645/0.03645, allocations: 8.605 MB / 268.5 MB, free: 4.922 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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 340.9 MB, free: 8.398 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.628e-05, allocations: 6.25 kB / 340.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.00292/0.002936, allocations: 2.213 MB / 343.1 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.004502, allocations: 1.018 MB / 344.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.004681, allocations: 23.75 kB / 344.1 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.004965, allocations: 87.28 kB / 344.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.005103, allocations: 79.44 kB / 344.3 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/0.006, allocations: 395 kB / 344.7 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005113/0.006512, allocations: 0.5443 MB / 345.2 MB, free: 4.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.006666, allocations: 73.22 kB / 345.3 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.006932, allocations: 267.4 kB / 345.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.007193, allocations: 207.5 kB / 345.8 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.007256, allocations: 36 kB / 345.8 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.007414, allocations: 115.8 kB / 345.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.007542, allocations: 155.5 kB / 346.1 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.007674, allocations: 143.5 kB / 346.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.008117, allocations: 422.4 kB / 346.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.008119, allocations: 0 / 346.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00812, allocations: 4 kB / 346.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.008127, allocations: 4 kB / 346.6 MB, free: 2.613 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001054/0.009181, allocations: 0.9257 MB / 347.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.009218, allocations: 8.031 kB / 347.6 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.009351, allocations: 100.5 kB / 347.7 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.009859, allocations: 393 kB / 348 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.009896, allocations: 33.38 kB / 348.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.801e-05/0.009974, allocations: 48.36 kB / 348.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.01059, allocations: 464.5 kB / 348.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.01061, allocations: 12.14 kB / 348.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/0.01065, allocations: 20.36 kB / 348.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.01067, allocations: 19.88 kB / 348.6 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.01109, allocations: 227.5 kB / 348.8 MB, free: 264 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.01367, allocations: 2.246 MB / 351.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.01409, allocations: 188.7 kB / 351.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.01426, allocations: 109.3 kB / 351.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.0143, allocations: 4 kB / 351.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.01462, allocations: 216.9 kB / 351.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/0.01463, allocations: 0 / 351.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007673/0.01539, allocations: 432.5 kB / 352 MB, free: 12.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.01544, allocations: 81.11 kB / 352.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.01592, allocations: 494.4 kB / 352.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.01595, allocations: 37.7 kB / 352.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.01618, allocations: 351 kB / 353 MB, free: 11.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.01629, allocations: 146.9 kB / 353.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.01645, allocations: 119.8 kB / 353.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.01666, allocations: 0.5469 MB / 353.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.01684, allocations: 106.8 kB / 353.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.01718, allocations: 363.8 kB / 354.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.01795, allocations: 0.6394 MB / 354.9 MB, free: 9.734 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.01795, allocations: 0 / 354.9 MB, free: 9.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008594/0.01881, allocations: 0.5607 MB / 355.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.01885, allocations: 41.77 kB / 355.5 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.01886, allocations: 11.98 kB / 355.5 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.01889, allocations: 8 kB / 355.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.01935, allocations: 131.8 kB / 355.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.01936, allocations: 11.94 kB / 355.6 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.0196, allocations: 75.5 kB / 355.7 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.01965, allocations: 27.98 kB / 355.7 MB, free: 8.848 MB / 282.7 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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.0002844/0.01993, allocations: 265.3 kB / 356 MB, free: 8.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.02002, allocations: 63.67 kB / 356.1 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.02071, allocations: 403.9 kB / 356.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.02072, allocations: 4 kB / 356.5 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.02072, allocations: 0 / 356.5 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.02073, allocations: 0 / 356.5 MB, free: 8.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.02114, allocations: 356.2 kB / 356.8 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02114, allocations: 4 kB / 356.8 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.02158, allocations: 83.88 kB / 356.9 MB, free: 7.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.02159, allocations: 4 kB / 356.9 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.02163, allocations: 19.98 kB / 356.9 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.02164, allocations: 0 / 356.9 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02164, allocations: 0 / 356.9 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.02246, allocations: 0.5509 MB / 357.5 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.02252, allocations: 55.58 kB / 357.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.02258, allocations: 12 kB / 357.5 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.02273, allocations: 15.98 kB / 357.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.0228, allocations: 23.95 kB / 357.6 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.02283, allocations: 15.88 kB / 357.6 MB, free: 6.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002788/0.02311, allocations: 299 kB / 357.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02311, allocations: 0 / 357.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003809/0.02349, allocations: 127.7 kB / 358 MB, free: 6.465 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0002037/0.02369, allocations: 142.5 kB / 358.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006134/0.02431, allocations: 420.8 kB / 358.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.02431, allocations: 0 / 358.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.02453, allocations: 212.6 kB / 358.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.02476, allocations: 63.14 kB / 358.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009254/0.02569, allocations: 0.9763 MB / 359.8 MB, free: 4.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.369e-05/0.02577, allocations: 149.7 kB / 359.9 MB, free: 4.406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.02591, allocations: 92.41 kB / 360 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.02597, allocations: 36.5 kB / 360.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02597, allocations: 0 / 360.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of Templates: time 0.006236/0.03221, allocations: 3.714 MB / 363.8 MB, free: 0.5938 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.033288117032498]