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.001341/0.001341, allocations: 116.1 kB / 17.17 MB, free: 6 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.001345/0.001345, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.384/1.384, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.05969/0.05969, allocations: 11.33 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.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.00185/0.00185, allocations: 68.61 kB / 446.5 MB, free: 38.83 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.08688, allocations: 56 MB / 0.4908 GB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002623/0.08951, allocations: 2.293 MB / 0.493 GB, free: 1.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.09057, allocations: 0.7142 MB / 0.4937 GB, free: 444 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.09072, allocations: 27.69 kB / 0.4937 GB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.09089, allocations: 67.33 kB / 0.4938 GB, free: 348 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.09105, allocations: 47.48 kB / 0.4938 GB, free: 300 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.09157, allocations: 347.3 kB / 0.4942 GB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006308/0.0922, allocations: 0.6063 MB / 0.4948 GB, free: 15.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.09237, allocations: 81.19 kB / 0.4948 GB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.09263, allocations: 227.2 kB / 0.495 GB, free: 15.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.09291, allocations: 219 kB / 0.4953 GB, free: 14.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.09296, allocations: 32 kB / 0.4953 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.09302, allocations: 36 kB / 0.4953 GB, free: 14.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.09317, allocations: 147.5 kB / 0.4955 GB, free: 14.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.09335, allocations: 206.6 kB / 0.4957 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.09378, allocations: 437.9 kB / 0.4961 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09379, allocations: 4 kB / 0.4961 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.09379, allocations: 0 / 0.4961 GB, free: 13.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.0938, allocations: 4 kB / 0.4961 GB, free: 13.97 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.001316/0.09511, allocations: 0.8217 MB / 0.4969 GB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.09515, allocations: 8.031 kB / 0.4969 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.62e-05/0.09518, allocations: 13.19 kB / 0.4969 GB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.597e-05/0.09526, allocations: 78.7 kB / 0.497 GB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.215e-05/0.09535, allocations: 60.56 kB / 0.497 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005945/0.09595, allocations: 446.2 kB / 0.4975 GB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.97e-05/0.09603, allocations: 88.97 kB / 0.4976 GB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.0961, allocations: 48.33 kB / 0.4976 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.09686, allocations: 0.5001 MB / 0.4981 GB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.09688, allocations: 11.97 kB / 0.4981 GB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.09692, allocations: 16 kB / 0.4981 GB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.09693, allocations: 12 kB / 0.4981 GB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006349/0.09757, allocations: 367.6 kB / 0.4985 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.1003, allocations: 2.061 MB / 0.5005 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.1012, allocations: 287.2 kB / 0.5008 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.1015, allocations: 157.3 kB / 0.5009 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.1015, allocations: 8.266 kB / 0.5009 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1015, allocations: 38.84 kB / 0.501 GB, free: 8.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.1015, allocations: 0 / 0.501 GB, free: 8.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008278/0.1023, allocations: 450.7 kB / 0.5014 GB, free: 8.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.1024, allocations: 55.41 kB / 0.5014 GB, free: 8.215 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.1029, allocations: 449.8 kB / 0.5019 GB, free: 7.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1029, allocations: 29.7 kB / 0.5019 GB, free: 7.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.1031, allocations: 272.2 kB / 0.5022 GB, free: 7.457 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.1032, allocations: 126.9 kB / 0.5023 GB, free: 7.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.1033, allocations: 102.2 kB / 0.5024 GB, free: 7.227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1035, allocations: 366.7 kB / 0.5027 GB, free: 6.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.1037, allocations: 137 kB / 0.5029 GB, free: 6.723 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.1041, allocations: 276.9 kB / 0.5031 GB, free: 6.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.1063, allocations: 0.8275 MB / 0.5039 GB, free: 5.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1063, allocations: 4 kB / 0.5039 GB, free: 5.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008423/0.1071, allocations: 0.5436 MB / 0.5045 GB, free: 4.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1072, allocations: 4 kB / 0.5045 GB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1072, allocations: 4 kB / 0.5045 GB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1072, allocations: 8 kB / 0.5045 GB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.1077, allocations: 120.4 kB / 0.5046 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.1077, allocations: 15.98 kB / 0.5046 GB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1079, allocations: 59.61 kB / 0.5047 GB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.108, allocations: 24 kB / 0.5047 GB, free: 4.719 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: 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.0002589/0.1082, allocations: 212 kB / 0.5049 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/0.1083, allocations: 47.67 kB / 0.5049 GB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007351/0.109, allocations: 410.5 kB / 0.5053 GB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.109, allocations: 8 kB / 0.5053 GB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.109, allocations: 0 / 0.5053 GB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.109, allocations: 0 / 0.5053 GB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.1096, allocations: 477 kB / 0.5058 GB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1096, allocations: 0 / 0.5058 GB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/0.1101, allocations: 91.88 kB / 0.5059 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1101, allocations: 0 / 0.5059 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.1101, allocations: 19.98 kB / 0.5059 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1101, allocations: 0 / 0.5059 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1101, allocations: 0 / 0.5059 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.111, allocations: 0.6361 MB / 0.5065 GB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.1111, allocations: 120.8 kB / 0.5066 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.1112, allocations: 8 kB / 0.5066 GB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1113, allocations: 15.98 kB / 0.5067 GB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.1114, allocations: 23.91 kB / 0.5067 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.1114, allocations: 19.98 kB / 0.5067 GB, free: 2.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.1117, allocations: 295.1 kB / 0.507 GB, free: 2.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1117, allocations: 4 kB / 0.507 GB, free: 2.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.1121, allocations: 87.77 kB / 0.5071 GB, free: 2.184 MB / 366.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.001181/0.1133, allocations: 1.172 MB / 0.5082 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006093/0.1139, allocations: 356.4 kB / 0.5085 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1139, allocations: 0 / 0.5085 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.1141, allocations: 163.9 kB / 0.5087 GB, free: 492 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.1145, allocations: 48.2 kB / 0.5088 GB, free: 448 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.1195, allocations: 4.268 MB / 0.5129 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.12, allocations: 0.8664 MB / 0.5138 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.1202, allocations: 96.14 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.1204, allocations: 179.4 kB / 0.514 GB, free: 10.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1204, allocations: 0 / 0.514 GB, free: 10.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.1465, allocations: 7.753 MB / 0.5216 GB, free: 3.227 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/8.731, allocations: 14.16 kB / 0.5216 GB, free: 3.219 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.365774017001968] Failed to read output from testmodel.py, exit status != 0: 8.855268753017299 8.872343695 8.774450341 Calling exit ...