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.001313/0.001313, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001445/0.001445, allocations: 215.4 kB / 23.03 MB, free: 4.922 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.06277/0.06277, allocations: 11.33 MB / 324.6 MB, free: 8.062 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.001967/0.001967, allocations: 67.84 kB / 451.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1126, allocations: 56.07 MB / 0.4959 GB, free: 2.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003469/0.1161, allocations: 2.161 MB / 0.498 GB, free: 12 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1174, allocations: 0.687 MB / 0.4987 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1176, allocations: 23.75 kB / 0.4987 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000215/0.1178, allocations: 67.27 kB / 0.4988 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.118, allocations: 51.53 kB / 0.4988 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.1188, allocations: 375.3 kB / 0.4992 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007888/0.1196, allocations: 0.6569 MB / 0.4998 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1197, allocations: 81.39 kB / 0.4999 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.12, allocations: 235.2 kB / 0.5001 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1203, allocations: 214.9 kB / 0.5003 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.1204, allocations: 35.98 kB / 0.5004 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.1204, allocations: 36 kB / 0.5004 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1206, allocations: 147.5 kB / 0.5005 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1207, allocations: 159 kB / 0.5007 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.1212, allocations: 441.9 kB / 0.5011 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1212, allocations: 0 / 0.5011 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1212, allocations: 0 / 0.5011 GB, free: 12.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1212, allocations: 0 / 0.5011 GB, free: 12.82 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.1225, allocations: 0.7561 MB / 0.5019 GB, free: 12.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1226, allocations: 12.03 kB / 0.5019 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.105e-05/0.1226, allocations: 13.19 kB / 0.5019 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.209e-05/0.1227, allocations: 78.72 kB / 0.502 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.1228, allocations: 60.56 kB / 0.502 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.1234, allocations: 378.9 kB / 0.5024 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.899e-05/0.1235, allocations: 84.97 kB / 0.5025 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.1236, allocations: 48.33 kB / 0.5025 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.1244, allocations: 0.4962 MB / 0.503 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.1244, allocations: 12 kB / 0.503 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.1244, allocations: 16 kB / 0.503 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1244, allocations: 8 kB / 0.503 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.1251, allocations: 371.6 kB / 0.5034 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002815/0.1279, allocations: 1.951 MB / 0.5053 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008674/0.1288, allocations: 287.2 kB / 0.5056 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.129, allocations: 165.3 kB / 0.5057 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.1291, allocations: 8.281 kB / 0.5057 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.1291, allocations: 38.78 kB / 0.5058 GB, free: 7.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.1291, allocations: 0 / 0.5058 GB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009531/0.1301, allocations: 450.7 kB / 0.5062 GB, free: 7.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1301, allocations: 55.41 kB / 0.5062 GB, free: 7.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.1307, allocations: 445.8 kB / 0.5067 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1307, allocations: 37.7 kB / 0.5067 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.131, allocations: 264.2 kB / 0.507 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1311, allocations: 146.8 kB / 0.5071 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1312, allocations: 94.14 kB / 0.5072 GB, free: 6.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1315, allocations: 366.7 kB / 0.5075 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1317, allocations: 125.1 kB / 0.5077 GB, free: 5.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.1321, allocations: 282.9 kB / 0.5079 GB, free: 5.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.1344, allocations: 0.8319 MB / 0.5087 GB, free: 4.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1344, allocations: 0 / 0.5087 GB, free: 4.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009471/0.1353, allocations: 0.5436 MB / 0.5093 GB, free: 4.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.1353, allocations: 8 kB / 0.5093 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1354, allocations: 4 kB / 0.5093 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.1354, allocations: 8.594 kB / 0.5093 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.1359, allocations: 127.8 kB / 0.5094 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.1359, allocations: 15.94 kB / 0.5094 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1362, allocations: 55.61 kB / 0.5095 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.1362, allocations: 27.94 kB / 0.5095 GB, free: 3.836 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.000337/0.1366, allocations: 211.4 kB / 0.5097 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.1366, allocations: 47.67 kB / 0.5097 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008537/0.1375, allocations: 405.9 kB / 0.5101 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1375, allocations: 7.984 kB / 0.5101 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1375, allocations: 0 / 0.5101 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.1375, allocations: 3.984 kB / 0.5101 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.138, allocations: 396.3 kB / 0.5105 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.138, allocations: 0 / 0.5105 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.1386, allocations: 103.9 kB / 0.5106 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1386, allocations: 0 / 0.5106 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/0.1387, allocations: 8 kB / 0.5106 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.722e-05/0.1387, allocations: 4 kB / 0.5106 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1387, allocations: 4 kB / 0.5106 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/0.1396, allocations: 0.6359 MB / 0.5113 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.1397, allocations: 47.64 kB / 0.5113 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.1397, allocations: 12 kB / 0.5113 GB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1399, allocations: 11.98 kB / 0.5113 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.14, allocations: 27.95 kB / 0.5114 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.14, allocations: 4 kB / 0.5114 GB, free: 1.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003329/0.1403, allocations: 303.1 kB / 0.5116 GB, free: 1.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1403, allocations: 4 kB / 0.5117 GB, free: 1.559 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.1408, allocations: 95.72 kB / 0.5117 GB, free: 1.465 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.001264/0.142, allocations: 1.17 MB / 0.5129 GB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1942/0.3362, allocations: 357.9 kB / 0.5132 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3362, allocations: 0 / 0.5132 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.3365, allocations: 158.5 kB / 0.5134 GB, free: 23.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.337, allocations: 48.08 kB / 0.5134 GB, free: 23.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.3413, allocations: 4.258 MB / 0.5176 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.3415, allocations: 266.5 kB / 0.5178 GB, free: 21.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.3417, allocations: 91.41 kB / 0.5179 GB, free: 21.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.3419, allocations: 174 kB / 0.5181 GB, free: 21.32 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3419, allocations: 0 / 0.5181 GB, free: 21.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.3746, allocations: 7.973 MB / 0.5259 GB, free: 20.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.87, allocations: 6.406 kB / 0.5259 GB, free: 20.52 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.420359118026681] Failed to read output from testmodel.py, exit status != 0: 12.027761079953052 12.041040479 11.917176359 Calling exit ...