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.0008377/0.0008377, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001011/0.001011, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9131/0.9131, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.03535/0.03535, allocations: 8.611 MB / 267.8 MB, free: 5.117 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 395.1 MB, free: 1.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062e-05/1.203e-05, allocations: 2.281 kB / 395.1 MB, free: 1.477 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002137/0.002149, allocations: 2.146 MB / 397.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.003344, allocations: 0.9982 MB / 398.2 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.003487, allocations: 19.81 kB / 398.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.003742, allocations: 95.28 kB / 398.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.51e-05/0.003837, allocations: 75.42 kB / 398.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.004591, allocations: 399 kB / 398.8 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006816/0.005273, allocations: 0.5519 MB / 399.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.005412, allocations: 73.17 kB / 399.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.005627, allocations: 271.4 kB / 399.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.005842, allocations: 207.5 kB / 399.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.005883, allocations: 36 kB / 399.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.005997, allocations: 103.9 kB / 400 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.006098, allocations: 163.4 kB / 400.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.006195, allocations: 143.5 kB / 400.3 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.006571, allocations: 0.5373 MB / 400.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.006573, allocations: 0 / 400.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006574, allocations: 0 / 400.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.341e-06/0.00658, allocations: 0 / 400.9 MB, free: 11.66 MB / 330.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.000859/0.007439, allocations: 0.8142 MB / 401.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.007473, allocations: 16.03 kB / 401.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.007534, allocations: 86.72 kB / 401.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.007606, allocations: 64.52 kB / 401.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.008006, allocations: 386.1 kB / 402.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.008032, allocations: 33.38 kB / 402.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.008083, allocations: 56.31 kB / 402.3 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.00863, allocations: 0.5764 MB / 402.9 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.008652, allocations: 16.06 kB / 402.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.00868, allocations: 20.12 kB / 402.9 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.008688, allocations: 12 kB / 402.9 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004417/0.00913, allocations: 437.3 kB / 403.3 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.01092, allocations: 2.045 MB / 405.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.01125, allocations: 281.1 kB / 405.7 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.01142, allocations: 194.5 kB / 405.9 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.01145, allocations: 7.938 kB / 405.9 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/0.01193, allocations: 291.4 kB / 406.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.533e-06/0.01193, allocations: 0 / 406.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006359/0.01256, allocations: 0.6446 MB / 406.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.0126, allocations: 93.09 kB / 406.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.01295, allocations: 0.5213 MB / 407.4 MB, free: 4.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.01297, allocations: 33.7 kB / 407.4 MB, free: 4.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.0131, allocations: 304.3 kB / 407.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.01317, allocations: 142.8 kB / 407.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.01326, allocations: 110.1 kB / 408 MB, free: 4.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.01335, allocations: 374.8 kB / 408.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.01354, allocations: 202.8 kB / 408.5 MB, free: 3.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.01379, allocations: 387.4 kB / 408.9 MB, free: 3.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.01504, allocations: 1.121 MB / 410 MB, free: 1.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.01504, allocations: 4 kB / 410.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000695/0.01573, allocations: 0.7873 MB / 410.8 MB, free: 1.109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.01576, allocations: 45.72 kB / 410.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01577, allocations: 4 kB / 410.9 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.01579, allocations: 12 kB / 410.9 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.01605, allocations: 135.7 kB / 411 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.01606, allocations: 11.94 kB / 411 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.01621, allocations: 79.44 kB / 411.1 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.01623, allocations: 28 kB / 411.1 MB, free: 0.793 MB / 330.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.0002308/0.01646, allocations: 283.3 kB / 411.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.0165, allocations: 55.67 kB / 411.5 MB, free: 456 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1289/0.1454, allocations: 0.5565 MB / 412 MB, free: 28.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1454, allocations: 3.938 kB / 412 MB, free: 28.9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1454, allocations: 0.6094 kB / 412 MB, free: 28.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1454, allocations: 6.703 kB / 412 MB, free: 28.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.1458, allocations: 412.7 kB / 412.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1458, allocations: 1.188 kB / 412.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.1461, allocations: 92.38 kB / 412.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.1462, allocations: 5.781 kB / 412.5 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.1462, allocations: 17.73 kB / 412.6 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1462, allocations: 2.062 kB / 412.6 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1462, allocations: 0 / 412.6 MB, free: 28.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.147, allocations: 0.7773 MB / 413.3 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.147, allocations: 64.12 kB / 413.4 MB, free: 28.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.1471, allocations: 12.86 kB / 413.4 MB, free: 28.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-05/0.1472, allocations: 24.16 kB / 413.4 MB, free: 28.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.1472, allocations: 18.92 kB / 413.5 MB, free: 28.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.1473, allocations: 14.84 kB / 413.5 MB, free: 28.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002758/0.1475, allocations: 350.3 kB / 413.8 MB, free: 28.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1475, allocations: 1.188 kB / 413.8 MB, free: 28.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.1479, allocations: 114.9 kB / 413.9 MB, free: 28.36 MB / 330.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.0009167/0.1488, allocations: 1.379 MB / 415.3 MB, free: 27.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006786/0.1495, allocations: 0.5745 MB / 415.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1495, allocations: 0 / 415.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.1497, allocations: 280 kB / 416.2 MB, free: 27.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.15, allocations: 49.14 kB / 416.2 MB, free: 27.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.1542, allocations: 5.185 MB / 421.4 MB, free: 24.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.1544, allocations: 295 kB / 421.7 MB, free: 23.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.1546, allocations: 111.2 kB / 421.8 MB, free: 23.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.1548, allocations: 199.7 kB / 422 MB, free: 23.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.1548, allocations: 0 / 422 MB, free: 23.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.1811, allocations: 10.01 MB / 432 MB, free: 20.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.128/7.309, allocations: 11.8 kB / 432 MB, free: 20.35 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.153768485412002] Failed to read output from testmodel.py, exit status != 0: 7.394482288509607 7.401754239 7.393779898 Calling exit ...