Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001419/0.001419, 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.001608/0.001608, allocations: 216.8 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.06339/0.06339, allocations: 11.34 MB / 324.6 MB, free: 8.266 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.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_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.00196/0.00196, allocations: 63.91 kB / 451.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1192, allocations: 56.07 MB / 0.496 GB, free: 2.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003531/0.1227, allocations: 2.236 MB / 0.4982 GB, free: 136 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.1236, allocations: 459.8 kB / 0.4986 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1237, allocations: 19.81 kB / 0.4986 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.124, allocations: 67.31 kB / 0.4987 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1241, allocations: 31.62 kB / 0.4987 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.1247, allocations: 243.5 kB / 0.499 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.1253, allocations: 0.5548 MB / 0.4995 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.1255, allocations: 73.09 kB / 0.4996 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.1257, allocations: 175.3 kB / 0.4997 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.126, allocations: 175.1 kB / 0.4999 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.016e-05/0.126, allocations: 28 kB / 0.4999 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.447e-05/0.1261, allocations: 28 kB / 0.5 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1262, allocations: 139.6 kB / 0.5001 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1264, allocations: 186.8 kB / 0.5003 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.1268, allocations: 386 kB / 0.5006 GB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1268, allocations: 4 kB / 0.5006 GB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1268, allocations: 0 / 0.5006 GB, free: 13.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1268, allocations: 3.938 kB / 0.5006 GB, free: 13.59 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001127/0.128, allocations: 0.6727 MB / 0.5013 GB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.128, allocations: 12.03 kB / 0.5013 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.173e-05/0.128, allocations: 13.19 kB / 0.5013 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.1281, allocations: 78.72 kB / 0.5014 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.759e-05/0.1282, allocations: 56.59 kB / 0.5015 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/0.1287, allocations: 332.7 kB / 0.5018 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.1287, allocations: 29.38 kB / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.1288, allocations: 36.38 kB / 0.5018 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.1295, allocations: 467.7 kB / 0.5023 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.1296, allocations: 11.89 kB / 0.5023 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.1296, allocations: 16 kB / 0.5023 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1296, allocations: 8 kB / 0.5023 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.1302, allocations: 314.3 kB / 0.5026 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.1327, allocations: 1.845 MB / 0.5044 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.1331, allocations: 170.5 kB / 0.5046 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.1333, allocations: 104.8 kB / 0.5047 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.1333, allocations: 8 kB / 0.5047 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1334, allocations: 34.88 kB / 0.5047 GB, free: 9.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.1334, allocations: 0 / 0.5047 GB, free: 9.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006761/0.134, allocations: 335.4 kB / 0.505 GB, free: 8.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1341, allocations: 55.41 kB / 0.5051 GB, free: 8.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000471/0.1345, allocations: 425.8 kB / 0.5055 GB, free: 8.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1346, allocations: 33.64 kB / 0.5055 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1348, allocations: 272.1 kB / 0.5058 GB, free: 8.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.509e-05/0.1348, allocations: 79.33 kB / 0.5059 GB, free: 7.992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.135, allocations: 81.64 kB / 0.5059 GB, free: 7.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1351, allocations: 354.8 kB / 0.5063 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1353, allocations: 100.2 kB / 0.5064 GB, free: 7.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.1357, allocations: 249.4 kB / 0.5066 GB, free: 7.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1371, allocations: 0.6337 MB / 0.5072 GB, free: 6.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1371, allocations: 0 / 0.5072 GB, free: 6.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007217/0.1379, allocations: 460.7 kB / 0.5077 GB, free: 5.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1379, allocations: 8 kB / 0.5077 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.1379, allocations: 8 kB / 0.5077 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1379, allocations: 8.641 kB / 0.5077 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.1383, allocations: 99.77 kB / 0.5078 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1383, allocations: 12 kB / 0.5078 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.1385, allocations: 51.66 kB / 0.5079 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1385, allocations: 20 kB / 0.5079 GB, free: 5.785 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: 22 * 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 (51): * Single equations (assignments): 51 * 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.0002617/0.1387, allocations: 217.7 kB / 0.5081 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.1388, allocations: 35.77 kB / 0.5081 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.1393, allocations: 286.8 kB / 0.5084 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.1394, allocations: 11.92 kB / 0.5084 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1394, allocations: 0 / 0.5084 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1394, allocations: 4 kB / 0.5084 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.1398, allocations: 364.4 kB / 0.5087 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1398, allocations: 0 / 0.5087 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.1401, allocations: 59.95 kB / 0.5088 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1401, allocations: 0 / 0.5088 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1402, allocations: 11.98 kB / 0.5088 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.1402, allocations: 11.94 kB / 0.5088 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1402, allocations: 0 / 0.5088 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.1409, allocations: 482.5 kB / 0.5093 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.1409, allocations: 43.64 kB / 0.5093 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.141, allocations: 8 kB / 0.5093 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.1411, allocations: 23.86 kB / 0.5094 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.1412, allocations: 11.97 kB / 0.5094 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.1412, allocations: 8 kB / 0.5094 GB, free: 4.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.1415, allocations: 287.1 kB / 0.5097 GB, free: 3.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1415, allocations: 4 kB / 0.5097 GB, free: 3.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.1418, allocations: 67.83 kB / 0.5097 GB, free: 3.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.001016/0.1429, allocations: 1.027 MB / 0.5107 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005216/0.1434, allocations: 275.7 kB / 0.511 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1434, allocations: 0 / 0.511 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.1436, allocations: 115.8 kB / 0.5111 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1439, allocations: 45.58 kB / 0.5111 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/0.3501, allocations: 3.728 MB / 0.5148 GB, free: 21.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3503, allocations: 0.8397 MB / 0.5156 GB, free: 21.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.3505, allocations: 74.3 kB / 0.5157 GB, free: 21.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.3507, allocations: 149.5 kB / 0.5158 GB, free: 21.26 MB / 382.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3507, allocations: 2.781 kB / 0.5158 GB, free: 21.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.3811, allocations: 6.842 MB / 0.5225 GB, free: 20.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.44, allocations: 4.984 kB / 0.5225 GB, free: 20.62 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.122566430014558] Failed to read output from testmodel.py, exit status != 0: 11.605402578017674 11.628854915 11.498064098 Calling exit ...