Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.00128/0.00128, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001428/0.001428, allocations: 215.7 kB / 23.04 MB, free: 5.078 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.376/1.376, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.06176/0.06176, allocations: 11.34 MB / 324.6 MB, free: 8.25 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.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_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.001896/0.001896, allocations: 65.78 kB / 451.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 56.07 MB / 0.496 GB, free: 2.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003486/0.1073, allocations: 2.303 MB / 0.4982 GB, free: 60 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1086, allocations: 0.7221 MB / 0.4989 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1088, allocations: 27.69 kB / 0.499 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.109, allocations: 63.33 kB / 0.499 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1091, allocations: 47.48 kB / 0.4991 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.1098, allocations: 375.3 kB / 0.4994 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007385/0.1106, allocations: 0.653 MB / 0.5001 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1107, allocations: 84.2 kB / 0.5002 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.111, allocations: 231.2 kB / 0.5004 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.1113, allocations: 215 kB / 0.5006 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.866e-05/0.1114, allocations: 40 kB / 0.5006 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-05/0.1114, allocations: 35.94 kB / 0.5006 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1116, allocations: 151.5 kB / 0.5008 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.1118, allocations: 206.6 kB / 0.501 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004451/0.1122, allocations: 437.9 kB / 0.5014 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1122, allocations: 0 / 0.5014 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1122, allocations: 0 / 0.5014 GB, free: 12.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1122, allocations: 0 / 0.5014 GB, free: 12.8 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001288/0.1135, allocations: 0.7466 MB / 0.5021 GB, free: 12.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1136, allocations: 8.031 kB / 0.5021 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.539e-05/0.1136, allocations: 21.12 kB / 0.5022 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.799e-05/0.1137, allocations: 74.72 kB / 0.5022 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.1138, allocations: 60.56 kB / 0.5023 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.1144, allocations: 382.9 kB / 0.5027 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.1145, allocations: 84.97 kB / 0.5027 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.1146, allocations: 48.33 kB / 0.5028 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/0.1153, allocations: 0.4962 MB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.1153, allocations: 7.938 kB / 0.5033 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.1154, allocations: 16 kB / 0.5033 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1154, allocations: 12 kB / 0.5033 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/0.116, allocations: 379.6 kB / 0.5037 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/0.1188, allocations: 2.017 MB / 0.5056 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.1196, allocations: 283.2 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.1199, allocations: 161.3 kB / 0.5061 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1199, allocations: 8.281 kB / 0.5061 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1199, allocations: 34.84 kB / 0.5061 GB, free: 7.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.1199, allocations: 3.938 kB / 0.5061 GB, free: 7.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008156/0.1208, allocations: 450.7 kB / 0.5065 GB, free: 7.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1208, allocations: 51.41 kB / 0.5066 GB, free: 7.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.1213, allocations: 453.8 kB / 0.507 GB, free: 6.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1213, allocations: 37.7 kB / 0.5071 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1215, allocations: 272.2 kB / 0.5073 GB, free: 6.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.1216, allocations: 134.8 kB / 0.5074 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.1217, allocations: 94.14 kB / 0.5075 GB, free: 6.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.1219, allocations: 362.7 kB / 0.5079 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.1222, allocations: 137.1 kB / 0.508 GB, free: 5.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1225, allocations: 279 kB / 0.5083 GB, free: 5.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.1248, allocations: 0.8319 MB / 0.5091 GB, free: 4.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1248, allocations: 0 / 0.5091 GB, free: 4.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000858/0.1256, allocations: 0.5403 MB / 0.5096 GB, free: 3.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1256, allocations: 7.938 kB / 0.5096 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1257, allocations: 12.03 kB / 0.5096 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1257, allocations: 4 kB / 0.5096 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/0.1262, allocations: 131.7 kB / 0.5098 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.1262, allocations: 4 kB / 0.5098 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.1264, allocations: 59.61 kB / 0.5098 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.1265, allocations: 23.98 kB / 0.5098 GB, free: 3.75 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: 20 * 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 (65): * Single equations (assignments): 65 * 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.0002776/0.1267, allocations: 211.4 kB / 0.51 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.1268, allocations: 47.67 kB / 0.5101 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/0.1276, allocations: 417.8 kB / 0.5105 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1276, allocations: 4 kB / 0.5105 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1276, allocations: 0 / 0.5105 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1276, allocations: 0 / 0.5105 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.1281, allocations: 432.2 kB / 0.5109 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1281, allocations: 0 / 0.5109 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.1286, allocations: 103.9 kB / 0.511 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.1286, allocations: 4 kB / 0.511 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.1287, allocations: 8 kB / 0.511 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1287, allocations: 0 / 0.511 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1287, allocations: 3.938 kB / 0.511 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/0.1296, allocations: 0.629 MB / 0.5116 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.1296, allocations: 51.64 kB / 0.5117 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.1297, allocations: 12 kB / 0.5117 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1299, allocations: 19.98 kB / 0.5117 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.1299, allocations: 27.89 kB / 0.5117 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.13, allocations: 8 kB / 0.5118 GB, free: 1.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003117/0.1303, allocations: 303.1 kB / 0.512 GB, free: 1.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1303, allocations: 0 / 0.512 GB, free: 1.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1306, allocations: 95.66 kB / 0.5121 GB, free: 1.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.001164/0.1318, allocations: 1.17 MB / 0.5133 GB, free: 132 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2/0.3317, allocations: 355.2 kB / 0.5136 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3318, allocations: 0.5312 kB / 0.5136 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.3321, allocations: 163.4 kB / 0.5138 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005403/0.3326, allocations: 48.39 kB / 0.5138 GB, free: 23.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.3373, allocations: 4.263 MB / 0.518 GB, free: 21.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.3376, allocations: 0.8641 MB / 0.5188 GB, free: 20.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.3379, allocations: 89.95 kB / 0.5189 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.3381, allocations: 181.9 kB / 0.5191 GB, free: 20.96 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3381, allocations: 0 / 0.5191 GB, free: 20.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.3727, allocations: 8.154 MB / 0.527 GB, free: 20.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.67, allocations: 11.44 kB / 0.5271 GB, free: 20.2 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.249073756975122] Failed to read output from testmodel.py, exit status != 0: 11.843252338003367 11.86370593 11.747812195 Calling exit ...