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.001872/0.001872, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002182/0.002182, allocations: 218.6 kB / 22.26 MB, free: 5.082 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.023 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.06475/0.06475, allocations: 11.34 MB / 323.8 MB, free: 8.348 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.002201/0.002201, allocations: 67.89 kB / 451 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 56.06 MB / 0.4952 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003837/0.1296, allocations: 2.248 MB / 0.4974 GB, free: 164 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.131, allocations: 0.5387 MB / 0.4979 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.1312, allocations: 19.81 kB / 0.498 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.1315, allocations: 63.33 kB / 0.498 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.1316, allocations: 35.61 kB / 0.4981 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.1325, allocations: 295.4 kB / 0.4983 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008203/0.1333, allocations: 0.5861 MB / 0.4989 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.1336, allocations: 77.45 kB / 0.499 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.1338, allocations: 183.3 kB / 0.4992 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.1342, allocations: 203 kB / 0.4993 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.1343, allocations: 32 kB / 0.4994 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.944e-05/0.1343, allocations: 28 kB / 0.4994 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.1345, allocations: 139.5 kB / 0.4995 GB, free: 13.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.1347, allocations: 190.8 kB / 0.4997 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005636/0.1353, allocations: 402 kB / 0.5001 GB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1353, allocations: 4 kB / 0.5001 GB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1353, allocations: 4 kB / 0.5001 GB, free: 13.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1353, allocations: 0 / 0.5001 GB, free: 13.38 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.00138/0.1367, allocations: 0.6883 MB / 0.5008 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1367, allocations: 8.031 kB / 0.5008 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1368, allocations: 78.72 kB / 0.5009 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.1369, allocations: 52.61 kB / 0.5009 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.1375, allocations: 336.6 kB / 0.5012 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.571e-05/0.1376, allocations: 84.97 kB / 0.5013 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.1377, allocations: 40.38 kB / 0.5014 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/0.1385, allocations: 479.7 kB / 0.5018 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.1385, allocations: 7.953 kB / 0.5018 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1386, allocations: 16 kB / 0.5018 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1386, allocations: 8 kB / 0.5018 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.1392, allocations: 322.3 kB / 0.5022 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.1422, allocations: 1.93 MB / 0.504 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.1426, allocations: 174.5 kB / 0.5042 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.1429, allocations: 120.7 kB / 0.5043 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1429, allocations: 3.984 kB / 0.5043 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.1429, allocations: 38.94 kB / 0.5044 GB, free: 8.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.1429, allocations: 3.938 kB / 0.5044 GB, free: 8.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.000713/0.1437, allocations: 343.2 kB / 0.5047 GB, free: 8.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.1437, allocations: 63.41 kB / 0.5048 GB, free: 8.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.1442, allocations: 417.8 kB / 0.5052 GB, free: 7.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.1442, allocations: 33.7 kB / 0.5052 GB, free: 7.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.1445, allocations: 264.2 kB / 0.5054 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.839e-05/0.1446, allocations: 95.25 kB / 0.5055 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.1448, allocations: 86.02 kB / 0.5056 GB, free: 7.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1449, allocations: 354.8 kB / 0.5059 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.1452, allocations: 104.7 kB / 0.506 GB, free: 7.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.1455, allocations: 262.1 kB / 0.5063 GB, free: 6.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.1472, allocations: 0.6832 MB / 0.507 GB, free: 5.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1472, allocations: 4 kB / 0.507 GB, free: 5.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007776/0.1479, allocations: 477.5 kB / 0.5074 GB, free: 5.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.148, allocations: 10.5 kB / 0.5074 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.148, allocations: 4 kB / 0.5074 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.148, allocations: 8 kB / 0.5074 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.1484, allocations: 103.8 kB / 0.5075 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.1484, allocations: 15.92 kB / 0.5076 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1486, allocations: 51.59 kB / 0.5076 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.1487, allocations: 23.94 kB / 0.5076 GB, free: 5.27 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.000288/0.1489, allocations: 211.5 kB / 0.5078 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.149, allocations: 39.72 kB / 0.5079 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/0.1496, allocations: 309.2 kB / 0.5082 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.1496, allocations: 0 / 0.5082 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1496, allocations: 4 kB / 0.5082 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.1496, allocations: 7.969 kB / 0.5082 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.1501, allocations: 376.3 kB / 0.5085 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1501, allocations: 0 / 0.5085 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.1505, allocations: 71.89 kB / 0.5086 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1505, allocations: 0 / 0.5086 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.1506, allocations: 15.98 kB / 0.5086 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1506, allocations: 0 / 0.5086 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1506, allocations: 4 kB / 0.5086 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/0.1514, allocations: 494.3 kB / 0.5091 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.1515, allocations: 47.64 kB / 0.5091 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.1515, allocations: 8 kB / 0.5091 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1517, allocations: 11.98 kB / 0.5092 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.1517, allocations: 19.97 kB / 0.5092 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1517, allocations: 4 kB / 0.5092 GB, free: 3.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.1521, allocations: 295.1 kB / 0.5095 GB, free: 3.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1521, allocations: 0 / 0.5095 GB, free: 3.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.1525, allocations: 67.84 kB / 0.5095 GB, free: 3.254 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.001157/0.1536, allocations: 1.044 MB / 0.5105 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005754/0.1542, allocations: 300.9 kB / 0.5108 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1542, allocations: 0 / 0.5108 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.1544, allocations: 114.7 kB / 0.5109 GB, free: 1.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1548, allocations: 44.17 kB / 0.511 GB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2243/0.3791, allocations: 3.848 MB / 0.5147 GB, free: 21.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3794, allocations: 0.8422 MB / 0.5156 GB, free: 20.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.3796, allocations: 74.05 kB / 0.5156 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.3797, allocations: 159.8 kB / 0.5158 GB, free: 20.98 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3797, allocations: 2.906 kB / 0.5158 GB, free: 20.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.4224, allocations: 6.984 MB / 0.5226 GB, free: 20.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.95, allocations: 1.188 kB / 0.5226 GB, free: 20.35 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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.885300449997885] Failed to read output from testmodel.py, exit status != 0: 12.065615451996564 12.086455644 11.947152358 Calling exit ...