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.001601/0.001601, allocations: 109.7 kB / 16.46 MB, free: 6.508 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.001909/0.001909, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.06666/0.06666, allocations: 11.32 MB / 320.2 MB, free: 9.434 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestP_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_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.002006/0.002006, allocations: 63.91 kB / 445.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1261, allocations: 56.02 MB / 0.4901 GB, free: 5.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.004516/0.1307, allocations: 2.224 MB / 0.4922 GB, free: 3.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009658/0.1316, allocations: 459.8 kB / 0.4927 GB, free: 2.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1318, allocations: 23.81 kB / 0.4927 GB, free: 2.914 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.132, allocations: 67.31 kB / 0.4928 GB, free: 2.848 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1321, allocations: 27.62 kB / 0.4928 GB, free: 2.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.1327, allocations: 215.6 kB / 0.493 GB, free: 2.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005807/0.1333, allocations: 0.5119 MB / 0.4935 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1334, allocations: 69.28 kB / 0.4936 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.1337, allocations: 175.3 kB / 0.4937 GB, free: 1.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1339, allocations: 187.1 kB / 0.4939 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.134, allocations: 28 kB / 0.4939 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.134, allocations: 32 kB / 0.494 GB, free: 1.613 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1341, allocations: 127.5 kB / 0.4941 GB, free: 1.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1343, allocations: 186.7 kB / 0.4943 GB, free: 1.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.1347, allocations: 390 kB / 0.4946 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1347, allocations: 0 / 0.4946 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1347, allocations: 0 / 0.4946 GB, free: 0.9219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.1347, allocations: 0 / 0.4946 GB, free: 0.9219 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.001259/0.136, allocations: 0.748 MB / 0.4954 GB, free: 120 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1361, allocations: 12.03 kB / 0.4954 GB, free: 108 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.038e-05/0.1361, allocations: 78.7 kB / 0.4955 GB, free: 20 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.918e-05/0.1362, allocations: 52.66 kB / 0.4955 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.1368, allocations: 395.8 kB / 0.4959 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.1368, allocations: 29.38 kB / 0.4959 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/0.1369, allocations: 44.31 kB / 0.4959 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007898/0.1377, allocations: 459.9 kB / 0.4964 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.1377, allocations: 11.89 kB / 0.4964 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.1377, allocations: 16 kB / 0.4964 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1378, allocations: 12 kB / 0.4964 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.1384, allocations: 318.3 kB / 0.4967 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.1413, allocations: 1.881 MB / 0.4986 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.1418, allocations: 170.5 kB / 0.4987 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.142, allocations: 100.8 kB / 0.4988 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.142, allocations: 4 kB / 0.4988 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1421, allocations: 30.94 kB / 0.4989 GB, free: 12.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.204e-06/0.1421, allocations: 0 / 0.4989 GB, free: 12.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007286/0.1428, allocations: 339.1 kB / 0.4992 GB, free: 12.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.1429, allocations: 55.41 kB / 0.4992 GB, free: 11.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.1433, allocations: 421.9 kB / 0.4996 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1434, allocations: 29.7 kB / 0.4997 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.1436, allocations: 272.1 kB / 0.4999 GB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/0.1437, allocations: 91.25 kB / 0.5 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.1438, allocations: 85.42 kB / 0.5001 GB, free: 11.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.144, allocations: 354.8 kB / 0.5004 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.1442, allocations: 100.4 kB / 0.5005 GB, free: 10.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.1445, allocations: 245.4 kB / 0.5008 GB, free: 10.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.1461, allocations: 0.6414 MB / 0.5014 GB, free: 9.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1461, allocations: 0 / 0.5014 GB, free: 9.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00081/0.1469, allocations: 473.4 kB / 0.5018 GB, free: 9.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.147, allocations: 4 kB / 0.5018 GB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.147, allocations: 8 kB / 0.5018 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.147, allocations: 8 kB / 0.5019 GB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.1474, allocations: 87.83 kB / 0.5019 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.189e-05/0.1474, allocations: 15.92 kB / 0.502 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.1476, allocations: 51.66 kB / 0.502 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.1476, allocations: 20 kB / 0.502 GB, free: 8.906 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.0003177/0.1479, allocations: 200.2 kB / 0.5022 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.148, allocations: 35.77 kB / 0.5022 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006156/0.1486, allocations: 300.5 kB / 0.5025 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1486, allocations: 0 / 0.5025 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.1486, allocations: 7.938 kB / 0.5025 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1486, allocations: 0 / 0.5025 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.1491, allocations: 393.3 kB / 0.5029 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1491, allocations: 0 / 0.5029 GB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.1495, allocations: 59.95 kB / 0.503 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1495, allocations: 4 kB / 0.503 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.1495, allocations: 4 kB / 0.503 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1495, allocations: 8 kB / 0.503 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1495, allocations: 7.875 kB / 0.503 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007422/0.1502, allocations: 482.8 kB / 0.5035 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.1503, allocations: 116.8 kB / 0.5036 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.1504, allocations: 8 kB / 0.5036 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.1505, allocations: 15.98 kB / 0.5036 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.1506, allocations: 19.91 kB / 0.5036 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1506, allocations: 11.94 kB / 0.5036 GB, free: 7.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.1509, allocations: 287.1 kB / 0.5039 GB, free: 6.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1509, allocations: 0 / 0.5039 GB, free: 6.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004013/0.1513, allocations: 63.89 kB / 0.504 GB, free: 6.832 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.001083/0.1524, allocations: 1.022 MB / 0.505 GB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.153, allocations: 272.9 kB / 0.5052 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.153, allocations: 4.062 kB / 0.5052 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.1532, allocations: 119.4 kB / 0.5053 GB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1536, allocations: 47.06 kB / 0.5054 GB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/0.1588, allocations: 3.746 MB / 0.509 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.1593, allocations: 0.8421 MB / 0.5099 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.1595, allocations: 71.23 kB / 0.5099 GB, free: 472 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.1597, allocations: 151.4 kB / 0.5101 GB, free: 324 kB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1597, allocations: 4 kB / 0.5101 GB, free: 320 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2716/0.4314, allocations: 6.476 MB / 0.5164 GB, free: 24.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.552/8.984, allocations: 3.719 kB / 0.5164 GB, free: 24.19 MB / 382.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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_TestP_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.815294822998112] Failed to read output from testmodel.py, exit status != 0: 9.05615597400174 9.070004326 8.93249429 Calling exit ...