Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.001856/0.001856, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002295/0.002295, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.06507/0.06507, allocations: 11.32 MB / 320.2 MB, free: 9.406 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.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_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.002031/0.002031, allocations: 67.89 kB / 445.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1252, allocations: 56.02 MB / 0.4901 GB, free: 5.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.004248/0.1295, allocations: 2.287 MB / 0.4923 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1309, allocations: 0.5856 MB / 0.4929 GB, free: 2.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.1311, allocations: 19.81 kB / 0.4929 GB, free: 2.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1314, allocations: 71.25 kB / 0.493 GB, free: 2.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.1315, allocations: 35.56 kB / 0.493 GB, free: 2.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.1322, allocations: 287.5 kB / 0.4933 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.133, allocations: 0.5711 MB / 0.4938 GB, free: 1.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.1332, allocations: 73.28 kB / 0.4939 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.1334, allocations: 187.3 kB / 0.4941 GB, free: 1.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.1337, allocations: 211 kB / 0.4943 GB, free: 1.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.1338, allocations: 32 kB / 0.4943 GB, free: 1.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.848e-05/0.1338, allocations: 32 kB / 0.4943 GB, free: 1.215 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.134, allocations: 135.5 kB / 0.4945 GB, free: 1.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.1342, allocations: 202.7 kB / 0.4947 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.1347, allocations: 417.9 kB / 0.4951 GB, free: 484 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1347, allocations: 0 / 0.4951 GB, free: 484 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1347, allocations: 0 / 0.4951 GB, free: 484 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1347, allocations: 0 / 0.4951 GB, free: 484 kB / 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.001386/0.1361, allocations: 0.7674 MB / 0.4958 GB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1361, allocations: 8.031 kB / 0.4958 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.1362, allocations: 82.7 kB / 0.4959 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.1363, allocations: 56.56 kB / 0.4959 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.1369, allocations: 415.8 kB / 0.4963 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.137, allocations: 29.38 kB / 0.4964 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/0.1371, allocations: 40.38 kB / 0.4964 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.1379, allocations: 496.5 kB / 0.4969 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.1379, allocations: 15.88 kB / 0.4969 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.1379, allocations: 16 kB / 0.4969 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1379, allocations: 8 kB / 0.4969 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.1386, allocations: 347.6 kB / 0.4973 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.1412, allocations: 1.941 MB / 0.4991 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.142, allocations: 223.7 kB / 0.4994 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.1422, allocations: 120.8 kB / 0.4995 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.1423, allocations: 4.422 kB / 0.4995 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1423, allocations: 34.56 kB / 0.4995 GB, free: 11.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.1423, allocations: 0 / 0.4995 GB, free: 11.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007946/0.1431, allocations: 370.8 kB / 0.4999 GB, free: 11.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.1431, allocations: 55.41 kB / 0.4999 GB, free: 11.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.1436, allocations: 441.8 kB / 0.5003 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1436, allocations: 29.64 kB / 0.5004 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1439, allocations: 276 kB / 0.5006 GB, free: 10.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.144, allocations: 111.1 kB / 0.5007 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1441, allocations: 94.08 kB / 0.5008 GB, free: 10.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1443, allocations: 358.8 kB / 0.5012 GB, free: 9.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.1445, allocations: 108.9 kB / 0.5013 GB, free: 9.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.1448, allocations: 277.8 kB / 0.5015 GB, free: 9.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.1469, allocations: 0.7355 MB / 0.5023 GB, free: 8.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1469, allocations: 0 / 0.5023 GB, free: 8.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008636/0.1478, allocations: 0.5043 MB / 0.5027 GB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1478, allocations: 4 kB / 0.5028 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1478, allocations: 8 kB / 0.5028 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.1478, allocations: 11.94 kB / 0.5028 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.1483, allocations: 112.5 kB / 0.5029 GB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.1483, allocations: 19.92 kB / 0.5029 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1485, allocations: 59.61 kB / 0.503 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.1486, allocations: 16 kB / 0.503 GB, free: 7.914 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: 24 * 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 (59): * Single equations (assignments): 59 * 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.0003297/0.1489, allocations: 205 kB / 0.5032 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.546e-05/0.149, allocations: 43.72 kB / 0.5032 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007174/0.1497, allocations: 341.6 kB / 0.5035 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.1497, allocations: 7.938 kB / 0.5035 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1497, allocations: 0 / 0.5035 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1497, allocations: 0 / 0.5035 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.1503, allocations: 425.2 kB / 0.5039 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.1503, allocations: 7.938 kB / 0.504 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.1507, allocations: 79.89 kB / 0.504 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1508, allocations: 0 / 0.504 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.1508, allocations: 11.98 kB / 0.504 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.1508, allocations: 3.938 kB / 0.504 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1508, allocations: 8 kB / 0.5041 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.1516, allocations: 0.5197 MB / 0.5046 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1517, allocations: 124.8 kB / 0.5047 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.1518, allocations: 8 kB / 0.5047 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1519, allocations: 19.92 kB / 0.5047 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.152, allocations: 15.97 kB / 0.5047 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.152, allocations: 12 kB / 0.5047 GB, free: 6.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.1523, allocations: 291.1 kB / 0.505 GB, free: 5.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1523, allocations: 0 / 0.505 GB, free: 5.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.1527, allocations: 75.84 kB / 0.5051 GB, free: 5.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.001208/0.1539, allocations: 1.08 MB / 0.5061 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006819/0.1546, allocations: 312.7 kB / 0.5064 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1546, allocations: 384 / 0.5064 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.1548, allocations: 127.9 kB / 0.5066 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.1552, allocations: 45.5 kB / 0.5066 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1996/0.3549, allocations: 3.986 MB / 0.5105 GB, free: 24.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3552, allocations: 0.8545 MB / 0.5113 GB, free: 23.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.3554, allocations: 84.83 kB / 0.5114 GB, free: 23.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.3556, allocations: 161.6 kB / 0.5116 GB, free: 23.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3556, allocations: 1.031 kB / 0.5116 GB, free: 23.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.3881, allocations: 7.027 MB / 0.5184 GB, free: 23.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.648/9.036, allocations: 8.828 kB / 0.5184 GB, free: 23.04 MB / 382.1 MB " [Timeout remaining time 651] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.85309908700583] Failed to read output from testmodel.py, exit status != 0: 9.116360195999732 9.138049614 8.999178525 Calling exit ...