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.001313/0.001313, 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.001486/0.001486, allocations: 210.8 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 7.801 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.06225/0.06225, allocations: 11.34 MB / 323.8 MB, free: 8.035 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.002066/0.002066, allocations: 63.89 kB / 451 MB, free: 10.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 56.07 MB / 0.4952 GB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003437/0.1168, allocations: 2.111 MB / 0.4972 GB, free: 44 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1178, allocations: 0.5232 MB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.118, allocations: 23.75 kB / 0.4977 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.1182, allocations: 59.39 kB / 0.4978 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1183, allocations: 43.55 kB / 0.4978 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.1189, allocations: 275.5 kB / 0.4981 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006629/0.1196, allocations: 0.5821 MB / 0.4987 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.1197, allocations: 69.47 kB / 0.4987 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.1199, allocations: 191.3 kB / 0.4989 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.1202, allocations: 191 kB / 0.4991 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.678e-05/0.1203, allocations: 28 kB / 0.4991 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.1203, allocations: 32 kB / 0.4992 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1205, allocations: 139.6 kB / 0.4993 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1206, allocations: 147.1 kB / 0.4994 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.121, allocations: 406 kB / 0.4998 GB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.121, allocations: 0 / 0.4998 GB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.121, allocations: 4 kB / 0.4998 GB, free: 13.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.121, allocations: 0 / 0.4998 GB, free: 13.35 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.001159/0.1222, allocations: 0.6883 MB / 0.5005 GB, free: 12.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1222, allocations: 8.031 kB / 0.5005 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.935e-05/0.1223, allocations: 78.72 kB / 0.5006 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.1224, allocations: 52.61 kB / 0.5006 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.123, allocations: 340.6 kB / 0.501 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.123, allocations: 84.97 kB / 0.501 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.1231, allocations: 48.36 kB / 0.5011 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006941/0.1238, allocations: 479.7 kB / 0.5015 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.1238, allocations: 11.94 kB / 0.5016 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.1239, allocations: 16 kB / 0.5016 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1239, allocations: 8 kB / 0.5016 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.1244, allocations: 322.3 kB / 0.5019 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002631/0.1271, allocations: 1.852 MB / 0.5037 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.1275, allocations: 175.8 kB / 0.5039 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.1277, allocations: 120.7 kB / 0.504 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1277, allocations: 4 kB / 0.504 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1277, allocations: 38.94 kB / 0.504 GB, free: 8.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.1277, allocations: 0 / 0.504 GB, free: 8.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006631/0.1284, allocations: 347.6 kB / 0.5043 GB, free: 8.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.1284, allocations: 51.41 kB / 0.5044 GB, free: 8.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.1289, allocations: 437.8 kB / 0.5048 GB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.1289, allocations: 29.7 kB / 0.5048 GB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.1291, allocations: 268.1 kB / 0.5051 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.1292, allocations: 95.27 kB / 0.5052 GB, free: 7.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1293, allocations: 82.02 kB / 0.5053 GB, free: 7.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1295, allocations: 354.7 kB / 0.5056 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.1297, allocations: 112.7 kB / 0.5057 GB, free: 7.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.13, allocations: 250.2 kB / 0.506 GB, free: 6.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.1315, allocations: 0.6793 MB / 0.5066 GB, free: 5.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1315, allocations: 4 kB / 0.5066 GB, free: 5.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007312/0.1323, allocations: 481.4 kB / 0.5071 GB, free: 5.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1323, allocations: 8 kB / 0.5071 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1323, allocations: 8 kB / 0.5071 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1323, allocations: 4 kB / 0.5071 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004006/0.1327, allocations: 99.81 kB / 0.5072 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.1327, allocations: 15.92 kB / 0.5072 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1329, allocations: 55.66 kB / 0.5073 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.133, allocations: 20 kB / 0.5073 GB, free: 5.305 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.0002439/0.1332, allocations: 207.6 kB / 0.5075 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.1333, allocations: 39.77 kB / 0.5075 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.1338, allocations: 305.1 kB / 0.5078 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1338, allocations: 4 kB / 0.5078 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1339, allocations: 0 / 0.5078 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1339, allocations: 3.984 kB / 0.5078 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.1343, allocations: 360.4 kB / 0.5082 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1343, allocations: 0 / 0.5082 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.1347, allocations: 67.89 kB / 0.5082 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1347, allocations: 0 / 0.5082 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.1347, allocations: 11.98 kB / 0.5082 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1347, allocations: 4 kB / 0.5082 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1347, allocations: 0 / 0.5082 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.1355, allocations: 0.4905 MB / 0.5087 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.1355, allocations: 51.64 kB / 0.5088 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.1356, allocations: 12 kB / 0.5088 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1357, allocations: 11.98 kB / 0.5088 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.1358, allocations: 15.97 kB / 0.5088 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.1358, allocations: 4 kB / 0.5088 GB, free: 3.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.1361, allocations: 291.1 kB / 0.5091 GB, free: 3.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1361, allocations: 4 kB / 0.5091 GB, free: 3.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000354/0.1365, allocations: 71.78 kB / 0.5092 GB, free: 3.309 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.001062/0.1375, allocations: 1.04 MB / 0.5102 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.1381, allocations: 296.2 kB / 0.5105 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1381, allocations: 4 kB / 0.5105 GB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.1383, allocations: 114.7 kB / 0.5106 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1386, allocations: 37.86 kB / 0.5106 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1873/0.3259, allocations: 3.855 MB / 0.5144 GB, free: 21.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.3261, allocations: 244.2 kB / 0.5146 GB, free: 21.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.3263, allocations: 76.83 kB / 0.5147 GB, free: 21.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.3264, allocations: 148.3 kB / 0.5148 GB, free: 21.54 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3264, allocations: 0.8438 kB / 0.5148 GB, free: 21.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.3612, allocations: 7.14 MB / 0.5218 GB, free: 20.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.13, allocations: 7.25 kB / 0.5218 GB, free: 20.42 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 & /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: 13.611177312675864] Failed to read output from testmodel.py, exit status != 0: 11.231527437921613 11.245882779 11.122281387 Calling exit ...