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.001291/0.001291, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.001485/0.001485, allocations: 212.9 kB / 19.43 MB, free: 3.66 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.957 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.06618/0.06618, allocations: 11.32 MB / 320.2 MB, free: 9.414 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.003198/0.003198, allocations: 67.91 kB / 445.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1264, allocations: 56.01 MB / 0.4901 GB, free: 5.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003647/0.1301, allocations: 2.29 MB / 0.4923 GB, free: 3.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1317, allocations: 0.7103 MB / 0.493 GB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.1319, allocations: 27.69 kB / 0.493 GB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1322, allocations: 67.33 kB / 0.4931 GB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1325, allocations: 51.41 kB / 0.4931 GB, free: 2.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.1334, allocations: 351.3 kB / 0.4935 GB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008349/0.1342, allocations: 0.6063 MB / 0.4941 GB, free: 1.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.1344, allocations: 81.2 kB / 0.4941 GB, free: 1.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.1347, allocations: 223.2 kB / 0.4944 GB, free: 1.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.1351, allocations: 227 kB / 0.4946 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.1352, allocations: 32 kB / 0.4946 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.959e-05/0.1352, allocations: 36 kB / 0.4946 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.1354, allocations: 147.5 kB / 0.4948 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.1356, allocations: 206.6 kB / 0.495 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.1361, allocations: 437.9 kB / 0.4954 GB, free: 140 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1361, allocations: 0 / 0.4954 GB, free: 140 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1361, allocations: 0 / 0.4954 GB, free: 140 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1361, allocations: 3.938 kB / 0.4954 GB, free: 136 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.001543/0.1377, allocations: 0.822 MB / 0.4962 GB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.1377, allocations: 8.031 kB / 0.4962 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.1379, allocations: 78.72 kB / 0.4963 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.138, allocations: 60.56 kB / 0.4963 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007509/0.1387, allocations: 454.1 kB / 0.4968 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.1388, allocations: 84.97 kB / 0.4969 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/0.1389, allocations: 48.27 kB / 0.4969 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/0.1398, allocations: 0.5003 MB / 0.4974 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.1399, allocations: 4 kB / 0.4974 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.1399, allocations: 16 kB / 0.4974 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1399, allocations: 12 kB / 0.4974 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.1406, allocations: 371.6 kB / 0.4978 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.1438, allocations: 2.057 MB / 0.4998 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009299/0.1447, allocations: 287.2 kB / 0.5001 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.145, allocations: 161.3 kB / 0.5002 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.145, allocations: 4.281 kB / 0.5002 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.1451, allocations: 38.84 kB / 0.5002 GB, free: 10.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.545e-06/0.1451, allocations: 3.938 kB / 0.5003 GB, free: 10.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009665/0.1461, allocations: 447.6 kB / 0.5007 GB, free: 10.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.1461, allocations: 55.41 kB / 0.5007 GB, free: 10.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.1467, allocations: 457.8 kB / 0.5012 GB, free: 9.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1467, allocations: 29.7 kB / 0.5012 GB, free: 9.895 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.1469, allocations: 272.2 kB / 0.5015 GB, free: 9.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.147, allocations: 134.9 kB / 0.5016 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1472, allocations: 98.2 kB / 0.5017 GB, free: 9.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1473, allocations: 366.7 kB / 0.502 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.1476, allocations: 133 kB / 0.5022 GB, free: 8.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.148, allocations: 278.6 kB / 0.5024 GB, free: 8.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.1504, allocations: 0.8237 MB / 0.5032 GB, free: 7.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1504, allocations: 0 / 0.5032 GB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009279/0.1514, allocations: 0.5436 MB / 0.5038 GB, free: 7.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1514, allocations: 8.594 kB / 0.5038 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1514, allocations: 4 kB / 0.5038 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.1514, allocations: 12 kB / 0.5038 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.152, allocations: 127.8 kB / 0.5039 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.152, allocations: 8 kB / 0.5039 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.1522, allocations: 55.61 kB / 0.504 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.1522, allocations: 24 kB / 0.504 GB, free: 6.887 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.0003114/0.1526, allocations: 216 kB / 0.5042 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.1526, allocations: 47.67 kB / 0.5042 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.1535, allocations: 402.5 kB / 0.5046 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.1535, allocations: 4 kB / 0.5046 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1535, allocations: 0 / 0.5046 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1535, allocations: 3.984 kB / 0.5046 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.1541, allocations: 465.1 kB / 0.5051 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1541, allocations: 0 / 0.5051 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.1547, allocations: 99.86 kB / 0.5052 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1547, allocations: 8 kB / 0.5052 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.1547, allocations: 12 kB / 0.5052 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1547, allocations: 3.938 kB / 0.5052 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.1547, allocations: 7.938 kB / 0.5052 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.1557, allocations: 0.6278 MB / 0.5058 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.1558, allocations: 128.7 kB / 0.5059 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.1559, allocations: 12 kB / 0.5059 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.1561, allocations: 15.98 kB / 0.506 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.1561, allocations: 23.97 kB / 0.506 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.1562, allocations: 8 kB / 0.506 GB, free: 4.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.1565, allocations: 303.1 kB / 0.5063 GB, free: 4.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1565, allocations: 0 / 0.5063 GB, free: 4.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003973/0.1569, allocations: 83.84 kB / 0.5064 GB, free: 4.359 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.001366/0.1583, allocations: 1.172 MB / 0.5075 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.159, allocations: 364 kB / 0.5079 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.159, allocations: 0 / 0.5079 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.1593, allocations: 159.8 kB / 0.508 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1597, allocations: 50.08 kB / 0.5081 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2222/0.3819, allocations: 4.253 MB / 0.5122 GB, free: 22.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.3822, allocations: 0.8692 MB / 0.5131 GB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.3824, allocations: 91.89 kB / 0.5131 GB, free: 22.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.3826, allocations: 172.8 kB / 0.5133 GB, free: 22.24 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3826, allocations: 0 / 0.5133 GB, free: 22.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.4157, allocations: 7.738 MB / 0.5209 GB, free: 21.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.027/9.443, allocations: 11.53 kB / 0.5209 GB, free: 21.58 MB / 382.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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_TestPID_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.08120838899049] Failed to read output from testmodel.py, exit status != 0: 9.520637214998715 9.541435246 9.400961733 Calling exit ...