Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.001325/0.001325, allocations: 114.7 kB / 17.16 MB, free: 5.895 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: 210.3 kB / 20.13 MB, free: 2.949 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.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.06265/0.06265, allocations: 11.34 MB / 320.9 MB, free: 14.11 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.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="cs",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.001878/0.001878, allocations: 63.72 kB / 446.5 MB, free: 38.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09528, allocations: 56.01 MB / 0.4908 GB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002997/0.09828, allocations: 2.278 MB / 0.493 GB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.09942, allocations: 0.5933 MB / 0.4936 GB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.09968, allocations: 19.81 kB / 0.4936 GB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.09989, allocations: 75.25 kB / 0.4937 GB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.331e-05/0.09999, allocations: 35.59 kB / 0.4937 GB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.1006, allocations: 283.5 kB / 0.494 GB, free: 164 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.1011, allocations: 0.5672 MB / 0.4945 GB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.1013, allocations: 77.25 kB / 0.4946 GB, free: 15.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1015, allocations: 195.3 kB / 0.4948 GB, free: 15.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.1018, allocations: 203 kB / 0.495 GB, free: 15.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.1019, allocations: 32 kB / 0.495 GB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.1019, allocations: 32 kB / 0.495 GB, free: 15.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1021, allocations: 139.5 kB / 0.4952 GB, free: 14.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.1023, allocations: 198.7 kB / 0.4953 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.1027, allocations: 418 kB / 0.4957 GB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1027, allocations: 0 / 0.4957 GB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1027, allocations: 0 / 0.4957 GB, free: 14.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1027, allocations: 0 / 0.4957 GB, free: 14.32 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001208/0.1039, allocations: 0.7692 MB / 0.4965 GB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1039, allocations: 12.02 kB / 0.4965 GB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.182e-05/0.104, allocations: 13.19 kB / 0.4965 GB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.352e-05/0.104, allocations: 78.66 kB / 0.4966 GB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.1041, allocations: 60.56 kB / 0.4967 GB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.1047, allocations: 411.9 kB / 0.497 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.1047, allocations: 29.38 kB / 0.4971 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.1048, allocations: 44.38 kB / 0.4971 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/0.1056, allocations: 488.4 kB / 0.4976 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.1056, allocations: 15.88 kB / 0.4976 GB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.1057, allocations: 16 kB / 0.4976 GB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.1057, allocations: 12 kB / 0.4976 GB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.1063, allocations: 343.7 kB / 0.498 GB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.109, allocations: 1.929 MB / 0.4998 GB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/0.1097, allocations: 226.4 kB / 0.5001 GB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1099, allocations: 118.5 kB / 0.5002 GB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.11, allocations: 4.438 kB / 0.5002 GB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.11, allocations: 34.56 kB / 0.5002 GB, free: 9.512 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.11, allocations: 0 / 0.5002 GB, free: 9.512 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007256/0.1107, allocations: 373.7 kB / 0.5006 GB, free: 9.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.1108, allocations: 59.34 kB / 0.5006 GB, free: 9.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.1112, allocations: 433.8 kB / 0.501 GB, free: 8.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1113, allocations: 37.64 kB / 0.5011 GB, free: 8.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.1115, allocations: 276.1 kB / 0.5013 GB, free: 8.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.1116, allocations: 103.1 kB / 0.5014 GB, free: 8.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1117, allocations: 86.08 kB / 0.5015 GB, free: 8.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1119, allocations: 358.8 kB / 0.5019 GB, free: 7.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.1121, allocations: 116.9 kB / 0.502 GB, free: 7.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.1124, allocations: 273.9 kB / 0.5022 GB, free: 7.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.1144, allocations: 0.7383 MB / 0.5029 GB, free: 6.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.1145, allocations: 4 kB / 0.503 GB, free: 6.484 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008052/0.1153, allocations: 0.4965 MB / 0.5034 GB, free: 5.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1153, allocations: 8 kB / 0.5034 GB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1153, allocations: 4.719 kB / 0.5034 GB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1153, allocations: 11.94 kB / 0.5035 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.1157, allocations: 115.8 kB / 0.5036 GB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.1157, allocations: 11.98 kB / 0.5036 GB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.116, allocations: 59.61 kB / 0.5036 GB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.116, allocations: 24 kB / 0.5037 GB, free: 5.75 MB / 366.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: 24 * 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 (59): * Single equations (assignments): 59 * 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.0002699/0.1163, allocations: 207.3 kB / 0.5039 GB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.1163, allocations: 43.66 kB / 0.5039 GB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006515/0.117, allocations: 353.4 kB / 0.5042 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.117, allocations: 7.984 kB / 0.5042 GB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.117, allocations: 0 / 0.5042 GB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.117, allocations: 4 kB / 0.5042 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.1175, allocations: 421.2 kB / 0.5046 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1175, allocations: 7.875 kB / 0.5047 GB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.1179, allocations: 75.89 kB / 0.5047 GB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1179, allocations: 0 / 0.5047 GB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.118, allocations: 23.92 kB / 0.5048 GB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.118, allocations: 4 kB / 0.5048 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.118, allocations: 0 / 0.5048 GB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/0.1188, allocations: 0.512 MB / 0.5053 GB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.942e-05/0.1189, allocations: 124.8 kB / 0.5054 GB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.1189, allocations: 11.94 kB / 0.5054 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.1191, allocations: 19.92 kB / 0.5054 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.1191, allocations: 19.97 kB / 0.5054 GB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.1191, allocations: 8 kB / 0.5054 GB, free: 3.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003054/0.1194, allocations: 291.1 kB / 0.5057 GB, free: 3.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1194, allocations: 0 / 0.5057 GB, free: 3.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1198, allocations: 79.84 kB / 0.5058 GB, free: 3.477 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.001093/0.1209, allocations: 1.072 MB / 0.5068 GB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.1216, allocations: 325.1 kB / 0.5071 GB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1216, allocations: 0 / 0.5071 GB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.1218, allocations: 127.8 kB / 0.5073 GB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1222, allocations: 44.33 kB / 0.5073 GB, free: 1.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/0.1271, allocations: 4.003 MB / 0.5112 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.1276, allocations: 0.8545 MB / 0.5121 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.1278, allocations: 79.3 kB / 0.5121 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.128, allocations: 167.3 kB / 0.5123 GB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.128, allocations: 0 / 0.5123 GB, free: 12.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.1652, allocations: 7.05 MB / 0.5192 GB, free: 5.688 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.46, allocations: 7 kB / 0.5192 GB, free: 5.684 MB / 382.1 MB " [Timeout remaining time 651] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.165851844998542] Failed to read output from testmodel.py, exit status != 0: 8.58747751795454 8.610754786 8.503955003 Calling exit ...