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.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.001318/0.001318, allocations: 103.7 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.001465/0.001465, 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.06705/0.06705, allocations: 11.32 MB / 320.2 MB, free: 9.391 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.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: 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.002051/0.002051, allocations: 63.91 kB / 445.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1285, allocations: 56.02 MB / 0.4901 GB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003867/0.1324, allocations: 2.214 MB / 0.4922 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1336, allocations: 0.5465 MB / 0.4928 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1337, allocations: 19.81 kB / 0.4928 GB, free: 2.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002379/0.134, allocations: 71.31 kB / 0.4929 GB, free: 2.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.1341, allocations: 27.62 kB / 0.4929 GB, free: 2.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.1347, allocations: 259.5 kB / 0.4931 GB, free: 2.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006652/0.1354, allocations: 0.5354 MB / 0.4937 GB, free: 1.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.1356, allocations: 77.27 kB / 0.4937 GB, free: 1.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.1358, allocations: 191.3 kB / 0.4939 GB, free: 1.629 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.1361, allocations: 195.1 kB / 0.4941 GB, free: 1.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.1362, allocations: 28 kB / 0.4941 GB, free: 1.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.594e-05/0.1362, allocations: 32 kB / 0.4942 GB, free: 1.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.1364, allocations: 139.5 kB / 0.4943 GB, free: 1.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.1366, allocations: 190.8 kB / 0.4945 GB, free: 1.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.1371, allocations: 402 kB / 0.4948 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1371, allocations: 4 kB / 0.4949 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.048e-06/0.1371, allocations: 3.984 kB / 0.4949 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1371, allocations: 3.938 kB / 0.4949 GB, free: 0.6484 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.001451/0.1386, allocations: 0.7597 MB / 0.4956 GB, free: 15.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1386, allocations: 12.03 kB / 0.4956 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.1387, allocations: 74.72 kB / 0.4957 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1389, allocations: 56.59 kB / 0.4957 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.1395, allocations: 403.9 kB / 0.4961 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.55e-05/0.1396, allocations: 84.95 kB / 0.4962 GB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.1396, allocations: 36.38 kB / 0.4962 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008001/0.1404, allocations: 491.6 kB / 0.4967 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.1405, allocations: 7.953 kB / 0.4967 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.1405, allocations: 16 kB / 0.4967 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.1405, allocations: 12 kB / 0.4967 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.1411, allocations: 322.3 kB / 0.4971 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.144, allocations: 1.959 MB / 0.499 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.1444, allocations: 174.5 kB / 0.4991 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.1447, allocations: 120.7 kB / 0.4992 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1447, allocations: 4 kB / 0.4992 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1447, allocations: 38.92 kB / 0.4993 GB, free: 11.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 2.224e-06/0.1447, allocations: 0 / 0.4993 GB, free: 11.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007136/0.1454, allocations: 343.5 kB / 0.4996 GB, free: 11.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.1455, allocations: 59.41 kB / 0.4997 GB, free: 11.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.146, allocations: 425.9 kB / 0.5001 GB, free: 11.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.1461, allocations: 29.7 kB / 0.5001 GB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.1463, allocations: 264.2 kB / 0.5004 GB, free: 10.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/0.1464, allocations: 95.2 kB / 0.5004 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1465, allocations: 86.02 kB / 0.5005 GB, free: 10.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1467, allocations: 354.8 kB / 0.5009 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1469, allocations: 104.8 kB / 0.501 GB, free: 10.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1472, allocations: 262.1 kB / 0.5012 GB, free: 9.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.1489, allocations: 0.6733 MB / 0.5019 GB, free: 9.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1489, allocations: 4 kB / 0.5019 GB, free: 9.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008129/0.1497, allocations: 489.4 kB / 0.5023 GB, free: 8.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1498, allocations: 8 kB / 0.5024 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1498, allocations: 4 kB / 0.5024 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.1498, allocations: 8 kB / 0.5024 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.1502, allocations: 99.81 kB / 0.5025 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.1502, allocations: 8 kB / 0.5025 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1504, allocations: 55.59 kB / 0.5025 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.1505, allocations: 20 kB / 0.5025 GB, free: 8.328 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 (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.0002987/0.1508, allocations: 220 kB / 0.5027 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.1508, allocations: 39.72 kB / 0.5028 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005968/0.1514, allocations: 313 kB / 0.5031 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1514, allocations: 4 kB / 0.5031 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1514, allocations: 0 / 0.5031 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1514, allocations: 0 / 0.5031 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.1519, allocations: 405.3 kB / 0.5035 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1519, allocations: 0 / 0.5035 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.1524, allocations: 67.95 kB / 0.5035 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1524, allocations: 0 / 0.5035 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.1524, allocations: 12 kB / 0.5036 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.1524, allocations: 7.938 kB / 0.5036 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1524, allocations: 3.984 kB / 0.5036 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.1532, allocations: 498.3 kB / 0.504 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.509e-05/0.1533, allocations: 116.8 kB / 0.5042 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.1533, allocations: 15.98 kB / 0.5042 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1535, allocations: 15.98 kB / 0.5042 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.1535, allocations: 11.98 kB / 0.5042 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1535, allocations: 8 kB / 0.5042 GB, free: 6.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003087/0.1538, allocations: 287.1 kB / 0.5045 GB, free: 6.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1538, allocations: 0 / 0.5045 GB, free: 6.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.1542, allocations: 79.89 kB / 0.5045 GB, free: 6.176 MB / 382.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.001087/0.1553, allocations: 1.043 MB / 0.5056 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.1559, allocations: 303.5 kB / 0.5059 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1559, allocations: 0 / 0.5059 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.1561, allocations: 111.8 kB / 0.506 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1565, allocations: 40.44 kB / 0.506 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.1616, allocations: 3.859 MB / 0.5098 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2271/0.3887, allocations: 0.8389 MB / 0.5106 GB, free: 24.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.3889, allocations: 79.73 kB / 0.5107 GB, free: 24.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3891, allocations: 149.1 kB / 0.5108 GB, free: 24.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3892, allocations: 0 / 0.5108 GB, free: 24.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.4217, allocations: 6.657 MB / 0.5173 GB, free: 23.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.647/9.069, allocations: 4.984 kB / 0.5173 GB, free: 23.52 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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.84683960599068] Failed to read output from testmodel.py, exit status != 0: 9.143310947998543 9.155740705 9.015958949 Calling exit ...