Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001336/0.001336, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001616/0.001616, allocations: 214.6 kB / 22.26 MB, free: 5.125 MB / 14.72 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 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.06422/0.06422, allocations: 11.33 MB / 323.8 MB, free: 8.227 MB / 254.1 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.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 63.91 kB / 451 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1292, allocations: 56.07 MB / 0.4952 GB, free: 2.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003856/0.133, allocations: 2.236 MB / 0.4974 GB, free: 72 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1342, allocations: 0.5426 MB / 0.4979 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.1343, allocations: 15.81 kB / 0.498 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.1345, allocations: 67.33 kB / 0.498 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.1346, allocations: 39.61 kB / 0.4981 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007397/0.1354, allocations: 287.4 kB / 0.4983 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.1361, allocations: 0.59 MB / 0.4989 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1363, allocations: 69.47 kB / 0.499 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.1366, allocations: 191.3 kB / 0.4992 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1369, allocations: 203 kB / 0.4994 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.341e-05/0.1369, allocations: 28 kB / 0.4994 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.137, allocations: 36 kB / 0.4994 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.1371, allocations: 143.5 kB / 0.4996 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.1373, allocations: 182.8 kB / 0.4997 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.1378, allocations: 402 kB / 0.5001 GB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1378, allocations: 0 / 0.5001 GB, free: 13.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1378, allocations: 0 / 0.5001 GB, free: 13.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1378, allocations: 0 / 0.5001 GB, free: 13.3 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001278/0.1391, allocations: 0.6922 MB / 0.5008 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1391, allocations: 8.031 kB / 0.5008 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.711e-05/0.1392, allocations: 74.72 kB / 0.5009 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.558e-05/0.1393, allocations: 56.61 kB / 0.5009 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.1399, allocations: 336.6 kB / 0.5012 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.651e-05/0.14, allocations: 80.97 kB / 0.5013 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.1401, allocations: 44.38 kB / 0.5014 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.1408, allocations: 479.7 kB / 0.5018 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.1408, allocations: 7.953 kB / 0.5018 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.1409, allocations: 19.94 kB / 0.5018 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1409, allocations: 11.98 kB / 0.5019 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/0.1415, allocations: 322.3 kB / 0.5022 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.1444, allocations: 1.926 MB / 0.504 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.1449, allocations: 178.5 kB / 0.5042 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1451, allocations: 112.8 kB / 0.5043 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.1451, allocations: 4 kB / 0.5043 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.1452, allocations: 42.94 kB / 0.5044 GB, free: 8.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.1452, allocations: 0 / 0.5044 GB, free: 8.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007395/0.1459, allocations: 355.1 kB / 0.5047 GB, free: 8.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.146, allocations: 51.41 kB / 0.5048 GB, free: 8.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.1465, allocations: 425.8 kB / 0.5052 GB, free: 7.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1465, allocations: 29.7 kB / 0.5052 GB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.1467, allocations: 268.2 kB / 0.5054 GB, free: 7.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.1468, allocations: 91.27 kB / 0.5055 GB, free: 7.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.147, allocations: 86.02 kB / 0.5056 GB, free: 7.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1472, allocations: 354.8 kB / 0.506 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.1474, allocations: 104.7 kB / 0.5061 GB, free: 6.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1477, allocations: 262.1 kB / 0.5063 GB, free: 6.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.1494, allocations: 0.6832 MB / 0.507 GB, free: 5.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1494, allocations: 4 kB / 0.507 GB, free: 5.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007994/0.1502, allocations: 477.1 kB / 0.5074 GB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1502, allocations: 8 kB / 0.5074 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.1502, allocations: 4 kB / 0.5074 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.1502, allocations: 8 kB / 0.5074 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.1507, allocations: 103.8 kB / 0.5075 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.1507, allocations: 12.45 kB / 0.5076 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.1509, allocations: 59.59 kB / 0.5076 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.1509, allocations: 23.94 kB / 0.5076 GB, free: 5.172 MB / 382.1 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: 22 * 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 (54): * Single equations (assignments): 54 * 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.0002862/0.1512, allocations: 207.4 kB / 0.5078 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.1513, allocations: 43.72 kB / 0.5079 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/0.1519, allocations: 301.2 kB / 0.5082 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1519, allocations: 0 / 0.5082 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1519, allocations: 0 / 0.5082 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1519, allocations: 3.984 kB / 0.5082 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.1524, allocations: 388.3 kB / 0.5085 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1524, allocations: 4 kB / 0.5085 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.1528, allocations: 67.89 kB / 0.5086 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1528, allocations: 3.984 kB / 0.5086 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.1528, allocations: 8 kB / 0.5086 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1528, allocations: 0 / 0.5086 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1528, allocations: 0 / 0.5086 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007942/0.1536, allocations: 498.3 kB / 0.5091 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.1537, allocations: 51.64 kB / 0.5091 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.1538, allocations: 8 kB / 0.5091 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1539, allocations: 7.984 kB / 0.5092 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.154, allocations: 15.97 kB / 0.5092 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.154, allocations: 11.98 kB / 0.5092 GB, free: 3.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003239/0.1543, allocations: 287.1 kB / 0.5095 GB, free: 3.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1543, allocations: 0 / 0.5095 GB, free: 3.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003769/0.1547, allocations: 75.78 kB / 0.5095 GB, free: 3.16 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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 0.001088/0.1558, allocations: 1.04 MB / 0.5105 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.1563, allocations: 299.7 kB / 0.5108 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1563, allocations: 0 / 0.5108 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.1565, allocations: 114.7 kB / 0.5109 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1569, allocations: 48.11 kB / 0.511 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2301/0.387, allocations: 3.858 MB / 0.5148 GB, free: 21.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3873, allocations: 0.8444 MB / 0.5156 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002083/0.3875, allocations: 72.86 kB / 0.5156 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.3877, allocations: 153.8 kB / 0.5158 GB, free: 20.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.223e-06/0.3877, allocations: 0 / 0.5158 GB, free: 20.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.4272, allocations: 6.988 MB / 0.5226 GB, free: 20.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.75, allocations: 9.125 kB / 0.5226 GB, free: 20.31 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.435538443969563] Failed to read output from testmodel.py, exit status != 0: 11.859075606102124 11.884269416 11.742186439 Calling exit ...