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.001279/0.001279, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0014/0.0014, allocations: 215 kB / 22.25 MB, free: 5.262 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.734 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.06272/0.06272, allocations: 11.34 MB / 323.8 MB, free: 7.992 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.002338/0.002338, allocations: 71.89 kB / 451 MB, free: 10.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1113, allocations: 56.07 MB / 0.4952 GB, free: 2.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.004053/0.1154, allocations: 2.112 MB / 0.4972 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1167, allocations: 0.5271 MB / 0.4977 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.1169, allocations: 19.75 kB / 0.4977 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.1172, allocations: 63.38 kB / 0.4978 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.1174, allocations: 39.56 kB / 0.4978 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008309/0.1182, allocations: 283.5 kB / 0.4981 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008551/0.119, allocations: 0.5782 MB / 0.4987 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1193, allocations: 73.47 kB / 0.4988 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.1196, allocations: 191.3 kB / 0.4989 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.1199, allocations: 183 kB / 0.4991 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.12, allocations: 32 kB / 0.4991 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.08e-05/0.12, allocations: 28 kB / 0.4992 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.1202, allocations: 139.6 kB / 0.4993 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.1204, allocations: 151 kB / 0.4994 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.1209, allocations: 410 kB / 0.4998 GB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1209, allocations: 0 / 0.4998 GB, free: 13.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1209, allocations: 0 / 0.4998 GB, free: 13.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.1209, allocations: 0 / 0.4998 GB, free: 13.29 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.001415/0.1223, allocations: 0.6883 MB / 0.5005 GB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1224, allocations: 12.03 kB / 0.5005 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.778e-05/0.1225, allocations: 74.72 kB / 0.5006 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1226, allocations: 52.61 kB / 0.5006 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.1232, allocations: 344.6 kB / 0.501 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.1233, allocations: 80.97 kB / 0.501 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.1234, allocations: 44.36 kB / 0.5011 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.1242, allocations: 479.7 kB / 0.5015 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.1242, allocations: 7.953 kB / 0.5016 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.1243, allocations: 16 kB / 0.5016 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1243, allocations: 16 kB / 0.5016 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006204/0.1249, allocations: 318.3 kB / 0.5019 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.1278, allocations: 1.848 MB / 0.5037 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.1282, allocations: 182.5 kB / 0.5039 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.1285, allocations: 120.7 kB / 0.504 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1285, allocations: 0 / 0.504 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1285, allocations: 38.94 kB / 0.504 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.1285, allocations: 0 / 0.504 GB, free: 8.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.000791/0.1293, allocations: 341.1 kB / 0.5043 GB, free: 8.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.1294, allocations: 55.41 kB / 0.5044 GB, free: 8.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.1299, allocations: 437.8 kB / 0.5048 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1299, allocations: 29.7 kB / 0.5048 GB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.1301, allocations: 264.1 kB / 0.5051 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.236e-05/0.1302, allocations: 99.25 kB / 0.5052 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1304, allocations: 82.02 kB / 0.5053 GB, free: 7.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1305, allocations: 350.8 kB / 0.5056 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.1308, allocations: 116.7 kB / 0.5057 GB, free: 6.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.1311, allocations: 255.5 kB / 0.506 GB, free: 6.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.1328, allocations: 0.6793 MB / 0.5066 GB, free: 5.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.1328, allocations: 4 kB / 0.5066 GB, free: 5.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008089/0.1336, allocations: 484.9 kB / 0.5071 GB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1336, allocations: 8 kB / 0.5071 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.1336, allocations: 4.656 kB / 0.5071 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.1336, allocations: 12 kB / 0.5071 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.134, allocations: 99.81 kB / 0.5072 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.1341, allocations: 11.92 kB / 0.5072 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1343, allocations: 55.66 kB / 0.5073 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.1343, allocations: 20 kB / 0.5073 GB, free: 5.242 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.0002729/0.1346, allocations: 207.5 kB / 0.5075 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.1347, allocations: 35.77 kB / 0.5075 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.1352, allocations: 305.1 kB / 0.5078 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1352, allocations: 0 / 0.5078 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1352, allocations: 4 kB / 0.5078 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1353, allocations: 7.984 kB / 0.5078 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.1357, allocations: 352.4 kB / 0.5082 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.1357, allocations: 0 / 0.5082 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.1361, allocations: 71.88 kB / 0.5082 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1361, allocations: 0 / 0.5082 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.1361, allocations: 8 kB / 0.5082 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1362, allocations: 0 / 0.5082 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1362, allocations: 7.984 kB / 0.5082 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.1369, allocations: 0.5022 MB / 0.5087 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.137, allocations: 43.66 kB / 0.5088 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.137, allocations: 8 kB / 0.5088 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1372, allocations: 15.98 kB / 0.5088 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.1373, allocations: 11.97 kB / 0.5088 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1373, allocations: 7.984 kB / 0.5088 GB, free: 3.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003267/0.1376, allocations: 291.1 kB / 0.5091 GB, free: 3.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1376, allocations: 0 / 0.5091 GB, free: 3.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003782/0.138, allocations: 75.78 kB / 0.5092 GB, free: 3.246 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.001054/0.139, allocations: 1.036 MB / 0.5102 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.1396, allocations: 295.6 kB / 0.5105 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1396, allocations: 256 / 0.5105 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.1398, allocations: 115.9 kB / 0.5106 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1401, allocations: 40.98 kB / 0.5106 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2131/0.3533, allocations: 3.85 MB / 0.5144 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3534, allocations: 242.2 kB / 0.5146 GB, free: 21.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.3537, allocations: 72.98 kB / 0.5147 GB, free: 21.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3538, allocations: 153.7 kB / 0.5148 GB, free: 21.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3538, allocations: 0 / 0.5148 GB, free: 21.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.389, allocations: 7.133 MB / 0.5218 GB, free: 20.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.15, allocations: 13.78 kB / 0.5218 GB, free: 20.41 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.84644516184926] Failed to read output from testmodel.py, exit status != 0: 11.251605216413736 11.267406772 11.143684944 Calling exit ...