Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06562/0.06562, allocations: 11.35 MB / 314 MB, free: 14.94 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 59.89 kB / 437.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1158, allocations: 54.84 MB / 492.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003721/0.1195, allocations: 2.212 MB / 494.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1207, allocations: 0.5427 MB / 494.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.1208, allocations: 15.88 kB / 494.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.1211, allocations: 67.31 kB / 495 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.1212, allocations: 31.62 kB / 495 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.1218, allocations: 259.5 kB / 495.3 MB, free: 388 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006488/0.1225, allocations: 0.5355 MB / 495.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1227, allocations: 72.73 kB / 495.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1229, allocations: 183.3 kB / 496.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.1232, allocations: 191.1 kB / 496.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.1232, allocations: 32 kB / 496.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.702e-05/0.1233, allocations: 32 kB / 496.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.1234, allocations: 135.5 kB / 496.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.1236, allocations: 190.8 kB / 496.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.1241, allocations: 406 kB / 497 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1241, allocations: 0 / 497 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1241, allocations: 4 kB / 497 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1241, allocations: 0 / 497 MB, free: 14.62 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001322/0.1254, allocations: 0.7635 MB / 497.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1255, allocations: 11.89 kB / 497.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.885e-05/0.1255, allocations: 86.7 kB / 497.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/0.1256, allocations: 56.56 kB / 498 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006179/0.1263, allocations: 395.9 kB / 498.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/0.1264, allocations: 84.95 kB / 498.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.798e-05/0.1264, allocations: 48.33 kB / 498.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.1272, allocations: 479.7 kB / 498.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.1272, allocations: 7.938 kB / 499 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.1273, allocations: 16 kB / 499 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1273, allocations: 8 kB / 499 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.1279, allocations: 326.3 kB / 499.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.1308, allocations: 1.955 MB / 0.4895 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.1312, allocations: 174.5 kB / 0.4897 GB, free: 9.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.1314, allocations: 112.8 kB / 0.4898 GB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1314, allocations: 8 kB / 0.4898 GB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1315, allocations: 38.92 kB / 0.4898 GB, free: 9.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.1315, allocations: 0 / 0.4898 GB, free: 9.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007315/0.1322, allocations: 344.1 kB / 0.4902 GB, free: 9.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1322, allocations: 51.41 kB / 0.4902 GB, free: 9.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.1327, allocations: 433.8 kB / 0.4906 GB, free: 8.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1328, allocations: 29.7 kB / 0.4906 GB, free: 8.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.133, allocations: 268.2 kB / 0.4909 GB, free: 8.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.1331, allocations: 95.22 kB / 0.491 GB, free: 8.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1332, allocations: 82.02 kB / 0.4911 GB, free: 8.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.1334, allocations: 358.8 kB / 0.4914 GB, free: 8.133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.1336, allocations: 104.8 kB / 0.4915 GB, free: 8.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.134, allocations: 262.1 kB / 0.4918 GB, free: 7.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.1356, allocations: 0.6734 MB / 0.4924 GB, free: 6.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1356, allocations: 4 kB / 0.4924 GB, free: 6.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007943/0.1364, allocations: 484.9 kB / 0.4929 GB, free: 6.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1364, allocations: 4.656 kB / 0.4929 GB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1364, allocations: 8 kB / 0.4929 GB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1365, allocations: 12 kB / 0.4929 GB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.1369, allocations: 99.81 kB / 0.493 GB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.1369, allocations: 8 kB / 0.493 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1371, allocations: 59.55 kB / 0.4931 GB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.1371, allocations: 20 kB / 0.4931 GB, free: 6.281 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: 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 (54): * Single equations (assignments): 54 * 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.0002972/0.1374, allocations: 215 kB / 0.4933 GB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.1375, allocations: 39.72 kB / 0.4933 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.138, allocations: 301.1 kB / 0.4936 GB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.138, allocations: 4 kB / 0.4936 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1381, allocations: 0 / 0.4936 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1381, allocations: 0 / 0.4936 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.1386, allocations: 413.2 kB / 0.494 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1386, allocations: 0 / 0.494 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.139, allocations: 63.95 kB / 0.4941 GB, free: 5.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.139, allocations: 4 kB / 0.4941 GB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.139, allocations: 8 kB / 0.4941 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.139, allocations: 3.984 kB / 0.4941 GB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.139, allocations: 3.938 kB / 0.4941 GB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007604/0.1398, allocations: 0.4925 MB / 0.4946 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1399, allocations: 116.8 kB / 0.4947 GB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.14, allocations: 11.98 kB / 0.4947 GB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1401, allocations: 15.98 kB / 0.4947 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.1402, allocations: 15.98 kB / 0.4947 GB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.1402, allocations: 8 kB / 0.4947 GB, free: 4.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003258/0.1405, allocations: 287.1 kB / 0.495 GB, free: 4.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1405, allocations: 0 / 0.495 GB, free: 4.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.1409, allocations: 72 kB / 0.4951 GB, free: 4.145 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.001088/0.142, allocations: 1.043 MB / 0.4961 GB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005705/0.1425, allocations: 289 kB / 0.4964 GB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1425, allocations: 3.938 kB / 0.4964 GB, free: 2.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.1428, allocations: 127.8 kB / 0.4965 GB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.1431, allocations: 39.98 kB / 0.4965 GB, free: 2.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.1481, allocations: 3.866 MB / 0.5003 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.1487, allocations: 0.838 MB / 0.5011 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.1489, allocations: 75.22 kB / 0.5012 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.1491, allocations: 159.4 kB / 0.5014 GB, free: 13.46 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1491, allocations: 0 / 0.5014 GB, free: 13.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/0.1827, allocations: 6.655 MB / 0.5079 GB, free: 6.973 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/8.755, allocations: 4 kB / 0.5079 GB, free: 6.969 MB / 382.1 MB " [Timeout remaining time 651] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.578427899163216] Failed to read output from testmodel.py, exit status != 0: 8.830047318711877 9.047845016 8.921239066 Calling exit ...