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.001965/0.001965, allocations: 88.72 kB / 19.44 MB, free: 356 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.001658/0.001658, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.06737/0.06737, allocations: 8.607 MB / 268.2 MB, free: 4.934 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 2.986e-06/2.986e-06, allocations: 3.938 kB / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.636e-05, allocations: 9.062 kB / 340.1 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.004504/0.00454, allocations: 2.151 MB / 342.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.007277, allocations: 1.002 MB / 343.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.00758, allocations: 19.81 kB / 343.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.008005, allocations: 87.28 kB / 343.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.008265, allocations: 83.38 kB / 343.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.009827, allocations: 391 kB / 343.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009069/0.01073, allocations: 0.5482 MB / 344.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.01098, allocations: 61.23 kB / 344.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005021/0.01148, allocations: 267.4 kB / 344.7 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.01196, allocations: 219.4 kB / 345 MB, free: 3.891 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.01208, allocations: 36 kB / 345 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.01233, allocations: 103.9 kB / 345.1 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.01254, allocations: 163.4 kB / 345.2 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.01278, allocations: 135.5 kB / 345.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007773/0.01356, allocations: 0.545 MB / 345.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.01357, allocations: 0 / 345.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.01357, allocations: 0 / 345.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.01359, allocations: 0 / 345.9 MB, free: 2.914 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.001985/0.01557, allocations: 0.818 MB / 346.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.01562, allocations: 12.03 kB / 346.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.01588, allocations: 100.5 kB / 346.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009456/0.01683, allocations: 410.1 kB / 347.3 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.01688, allocations: 37.38 kB / 347.3 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.017, allocations: 40.38 kB / 347.3 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.01821, allocations: 0.5764 MB / 347.9 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.01826, allocations: 12.14 kB / 347.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.92e-05/0.01833, allocations: 20.38 kB / 347.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.01834, allocations: 11.94 kB / 348 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.01941, allocations: 437.3 kB / 348.4 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005644/0.02505, allocations: 1.972 MB / 350.3 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.02609, allocations: 284.8 kB / 350.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/0.02668, allocations: 198.5 kB / 350.8 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.098e-05/0.02673, allocations: 7.984 kB / 350.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007998/0.02753, allocations: 287.2 kB / 351.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.965e-06/0.02753, allocations: 0 / 351.1 MB, free: 13.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002122/0.02965, allocations: 0.6604 MB / 351.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.02977, allocations: 81.11 kB / 351.8 MB, free: 12.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.03079, allocations: 477.7 kB / 352.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.258e-05/0.03087, allocations: 33.7 kB / 352.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.03132, allocations: 312.2 kB / 352.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.03155, allocations: 138.9 kB / 352.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.03183, allocations: 110.1 kB / 352.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003405/0.03217, allocations: 370.7 kB / 353.3 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/0.03281, allocations: 202.8 kB / 353.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009564/0.03376, allocations: 395.3 kB / 353.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.03836, allocations: 1.121 MB / 355 MB, free: 9.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.03837, allocations: 4 kB / 355 MB, free: 9.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002482/0.04085, allocations: 0.8176 MB / 355.8 MB, free: 8.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/0.04093, allocations: 37.69 kB / 355.8 MB, free: 8.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.04095, allocations: 8.781 kB / 355.8 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.459e-05/0.041, allocations: 12 kB / 355.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.04205, allocations: 143.7 kB / 356 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.04207, allocations: 8 kB / 356 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.04259, allocations: 67.56 kB / 356.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/0.04267, allocations: 35.88 kB / 356.1 MB, free: 8.207 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.0006855/0.04335, allocations: 287 kB / 356.4 MB, free: 7.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.04354, allocations: 63.67 kB / 356.4 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.04537, allocations: 0.5589 MB / 357 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.04538, allocations: 4 kB / 357 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.04539, allocations: 0 / 357 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.0454, allocations: 0 / 357 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/0.04626, allocations: 364.9 kB / 357.4 MB, free: 6.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.04627, allocations: 4 kB / 357.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.0473, allocations: 75.95 kB / 357.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.04731, allocations: 4 kB / 357.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.04739, allocations: 23.92 kB / 357.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.04739, allocations: 0 / 357.5 MB, free: 6.773 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.04739, allocations: 4 kB / 357.5 MB, free: 6.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.04973, allocations: 0.7856 MB / 358.2 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.04986, allocations: 51.55 kB / 358.3 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.04998, allocations: 19.98 kB / 358.3 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.05031, allocations: 15.98 kB / 358.3 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.05043, allocations: 23.95 kB / 358.4 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.05049, allocations: 12 kB / 358.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006828/0.05117, allocations: 307.1 kB / 358.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.05117, allocations: 0 / 358.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000879/0.05205, allocations: 123.8 kB / 358.8 MB, free: 5.398 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.000408/0.05246, allocations: 143.1 kB / 358.9 MB, free: 5.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.05425, allocations: 0.5855 MB / 359.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.05425, allocations: 8.062 kB / 359.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007611/0.05502, allocations: 276.9 kB / 359.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.05561, allocations: 64.17 kB / 359.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.05894, allocations: 1.092 MB / 360.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/0.05955, allocations: 292.5 kB / 361.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005583/0.06011, allocations: 112.1 kB / 361.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.06028, allocations: 36.5 kB / 361.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of SimCode: time 6.42e-07/0.06028, allocations: 0 / 361.4 MB, free: 2.699 MB / 282.7 MB Notification: Performance of Templates: time 0.01418/0.07446, allocations: 3.709 MB / 365.1 MB, free: 15.02 MB / 298.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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.521487658028491]