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.001268/0.001268, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001422/0.001422, allocations: 214 kB / 22.25 MB, free: 5.258 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.371/1.371, allocations: 230.6 MB / 256 MB, free: 7.797 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.06233/0.06233, allocations: 11.35 MB / 323.8 MB, free: 8.023 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_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.002021/0.002021, allocations: 63.91 kB / 451 MB, free: 10.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1143, allocations: 56.07 MB / 0.4952 GB, free: 2.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003556/0.1179, allocations: 2.162 MB / 0.4973 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.1193, allocations: 0.6946 MB / 0.4979 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.1194, allocations: 23.75 kB / 0.498 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.1197, allocations: 71.27 kB / 0.498 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.1199, allocations: 43.55 kB / 0.4981 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007741/0.1207, allocations: 371.3 kB / 0.4984 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007678/0.1214, allocations: 0.6452 MB / 0.4991 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.1216, allocations: 73.34 kB / 0.4991 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.1219, allocations: 239.2 kB / 0.4994 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.1222, allocations: 203 kB / 0.4996 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.1223, allocations: 36 kB / 0.4996 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.1223, allocations: 32 kB / 0.4996 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001777/0.1225, allocations: 151.5 kB / 0.4998 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1227, allocations: 162.9 kB / 0.4999 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.1232, allocations: 445.9 kB / 0.5003 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1232, allocations: 0 / 0.5003 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1232, allocations: 0 / 0.5003 GB, free: 12.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1232, allocations: 0 / 0.5003 GB, free: 12.81 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.001314/0.1245, allocations: 0.7465 MB / 0.5011 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1245, allocations: 12.03 kB / 0.5011 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.551e-05/0.1246, allocations: 82.7 kB / 0.5012 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.503e-05/0.1247, allocations: 60.56 kB / 0.5012 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.1254, allocations: 378.9 kB / 0.5016 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.419e-05/0.1255, allocations: 88.97 kB / 0.5017 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.1256, allocations: 44.33 kB / 0.5017 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000902/0.1265, allocations: 0.4964 MB / 0.5022 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.1265, allocations: 4 kB / 0.5022 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.1266, allocations: 20 kB / 0.5022 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.1266, allocations: 12 kB / 0.5022 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.1273, allocations: 367.6 kB / 0.5026 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.1303, allocations: 1.947 MB / 0.5045 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/0.1312, allocations: 287.2 kB / 0.5048 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.1314, allocations: 165.3 kB / 0.5049 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.1315, allocations: 8.266 kB / 0.5049 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1315, allocations: 34.84 kB / 0.505 GB, free: 7.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.1315, allocations: 0 / 0.505 GB, free: 7.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008714/0.1324, allocations: 454.7 kB / 0.5054 GB, free: 7.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1324, allocations: 55.41 kB / 0.5054 GB, free: 7.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.1329, allocations: 453.7 kB / 0.5059 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.133, allocations: 33.7 kB / 0.5059 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.1332, allocations: 268.2 kB / 0.5062 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.1333, allocations: 130.9 kB / 0.5063 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.1334, allocations: 102.1 kB / 0.5064 GB, free: 6.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1336, allocations: 366.7 kB / 0.5067 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.1339, allocations: 133.1 kB / 0.5069 GB, free: 5.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1343, allocations: 279 kB / 0.5071 GB, free: 5.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.1365, allocations: 0.828 MB / 0.5079 GB, free: 4.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1365, allocations: 4 kB / 0.5079 GB, free: 4.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000882/0.1374, allocations: 0.5398 MB / 0.5085 GB, free: 4.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.1374, allocations: 8 kB / 0.5085 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1374, allocations: 4 kB / 0.5085 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1374, allocations: 8 kB / 0.5085 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.1379, allocations: 128.4 kB / 0.5086 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.1379, allocations: 8 kB / 0.5086 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.1382, allocations: 63.56 kB / 0.5087 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.1382, allocations: 27.94 kB / 0.5087 GB, free: 3.844 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.0002978/0.1385, allocations: 211.5 kB / 0.5089 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/0.1386, allocations: 47.67 kB / 0.5089 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007895/0.1394, allocations: 405.9 kB / 0.5093 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1394, allocations: 8 kB / 0.5093 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1394, allocations: 0 / 0.5093 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1394, allocations: 0 / 0.5093 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/0.1399, allocations: 412.2 kB / 0.5097 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1399, allocations: 0 / 0.5097 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.1405, allocations: 95.88 kB / 0.5098 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1405, allocations: 0 / 0.5098 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.1405, allocations: 15.98 kB / 0.5098 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1405, allocations: 0 / 0.5098 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1405, allocations: 0 / 0.5098 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/0.1415, allocations: 0.6368 MB / 0.5105 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.1416, allocations: 43.66 kB / 0.5105 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.1416, allocations: 15.98 kB / 0.5105 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1418, allocations: 15.98 kB / 0.5105 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.1419, allocations: 27.94 kB / 0.5106 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1419, allocations: 8 kB / 0.5106 GB, free: 1.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.1422, allocations: 303.1 kB / 0.5109 GB, free: 1.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1422, allocations: 0 / 0.5109 GB, free: 1.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.1426, allocations: 87.84 kB / 0.5109 GB, free: 1.469 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.001348/0.144, allocations: 1.166 MB / 0.5121 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1879/0.3319, allocations: 361.5 kB / 0.5124 GB, free: 23.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3319, allocations: 0 / 0.5124 GB, free: 23.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.3322, allocations: 164.6 kB / 0.5126 GB, free: 23.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3326, allocations: 41.5 kB / 0.5126 GB, free: 23.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.3368, allocations: 4.253 MB / 0.5168 GB, free: 21.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.337, allocations: 259.4 kB / 0.517 GB, free: 21.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.3372, allocations: 92.12 kB / 0.5171 GB, free: 21.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.3374, allocations: 178.5 kB / 0.5173 GB, free: 21.47 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3374, allocations: 0 / 0.5173 GB, free: 21.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.3741, allocations: 8.188 MB / 0.5253 GB, free: 20.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.23, allocations: 7.594 kB / 0.5253 GB, free: 20.27 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.736803780309856] Failed to read output from testmodel.py, exit status != 0: 11.344045838806778 11.36633148 11.239052441 Calling exit ...