Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.0009126/0.0009126, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001019/0.001019, allocations: 177 kB / 23.36 MB, free: 1.133 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.071/1.071, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.03877/0.03877, allocations: 8.621 MB / 268.9 MB, free: 4.801 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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 288.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.331e-05, allocations: 5.969 kB / 288.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.1181/0.1182, allocations: 2.23 MB / 290.3 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1197, allocations: 1.045 MB / 291.4 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.1199, allocations: 20.03 kB / 291.4 MB, free: 18.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1201, allocations: 89.27 kB / 291.5 MB, free: 18.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1202, allocations: 74.08 kB / 291.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000864/0.1211, allocations: 384.7 kB / 291.9 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.1217, allocations: 0.5419 MB / 292.5 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1218, allocations: 68.09 kB / 292.5 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.1221, allocations: 255.4 kB / 292.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.1224, allocations: 210.2 kB / 293 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.1225, allocations: 36 kB / 293 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1227, allocations: 120.9 kB / 293.1 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1228, allocations: 164 kB / 293.3 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1229, allocations: 136.5 kB / 293.4 MB, free: 18.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.1234, allocations: 424 kB / 293.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1234, allocations: 1.094 kB / 293.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1234, allocations: 0.5312 kB / 293.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.1234, allocations: 0 / 293.9 MB, free: 17.93 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.0008738/0.1243, allocations: 0.7723 MB / 294.6 MB, free: 17.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1243, allocations: 13.17 kB / 294.6 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1245, allocations: 71.56 kB / 294.7 MB, free: 17.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.1249, allocations: 349.6 kB / 295.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.1249, allocations: 31.75 kB / 295.1 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.1249, allocations: 56.3 kB / 295.1 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004381/0.1254, allocations: 424.2 kB / 295.6 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.1254, allocations: 7.859 kB / 295.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.1254, allocations: 21.75 kB / 295.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1254, allocations: 16.61 kB / 295.6 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.1257, allocations: 182.1 kB / 295.8 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1271, allocations: 1.574 MB / 297.4 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.1274, allocations: 212.5 kB / 297.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.1275, allocations: 94.88 kB / 297.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1275, allocations: 6.531 kB / 297.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1277, allocations: 195.1 kB / 297.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.1277, allocations: 0 / 297.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003391/0.128, allocations: 315.5 kB / 298.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.128, allocations: 89.48 kB / 298.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.1283, allocations: 400 kB / 298.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1283, allocations: 31.83 kB / 298.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.1284, allocations: 262.6 kB / 298.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.1285, allocations: 140.6 kB / 299.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.831e-05/0.1286, allocations: 109.7 kB / 299.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.1286, allocations: 373.5 kB / 299.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.1287, allocations: 85.56 kB / 299.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1289, allocations: 269.9 kB / 299.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.1294, allocations: 0.5335 MB / 300.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1294, allocations: 2.25 kB / 300.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005683/0.1299, allocations: 414.6 kB / 300.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.13, allocations: 43.92 kB / 300.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.13, allocations: 6.031 kB / 300.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.13, allocations: 10.91 kB / 300.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.1305, allocations: 153.6 kB / 301 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.1305, allocations: 15.61 kB / 301 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.1307, allocations: 58.03 kB / 301.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.1307, allocations: 25.42 kB / 301.1 MB, free: 13.15 MB / 266.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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_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.0002698/0.131, allocations: 230.2 kB / 301.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.131, allocations: 42.91 kB / 301.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003418/0.1314, allocations: 291 kB / 301.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1314, allocations: 3.938 kB / 301.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1314, allocations: 0 / 301.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1314, allocations: 3.844 kB / 301.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.1317, allocations: 232.1 kB / 301.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1317, allocations: 1.688 kB / 301.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.1321, allocations: 105.6 kB / 302 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1321, allocations: 1.562 kB / 302 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.1321, allocations: 20.44 kB / 302 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1321, allocations: 2.422 kB / 302 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1321, allocations: 2.719 kB / 302 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.1325, allocations: 440.2 kB / 302.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.1325, allocations: 53.3 kB / 302.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.1326, allocations: 13.97 kB / 302.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.1327, allocations: 9.5 kB / 302.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.1327, allocations: 22.59 kB / 302.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.1328, allocations: 11.61 kB / 302.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1329, allocations: 156.1 kB / 302.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1329, allocations: 0 / 302.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003972/0.1333, allocations: 122.6 kB / 302.9 MB, free: 12.31 MB / 266.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.0001726/0.1335, allocations: 129.7 kB / 303 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.1339, allocations: 370 kB / 303.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/0.1339, allocations: 9.719 kB / 303.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.134, allocations: 192.5 kB / 303.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.1342, allocations: 59.52 kB / 303.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.1352, allocations: 0.9801 MB / 304.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.957e-05/0.1353, allocations: 153.9 kB / 304.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1354, allocations: 53.94 kB / 304.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.1355, allocations: 119.3 kB / 304.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1355, allocations: 0 / 304.9 MB, free: 11.05 MB / 266.7 MB Notification: Performance of Templates: time 0.006919/0.1424, allocations: 4.055 MB / 308.9 MB, free: 8.012 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7722680140286684]