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.001089/0.001089, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001213/0.001213, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8781/0.8781, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.04023/0.04023, allocations: 8.609 MB / 267.8 MB, free: 5.121 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.053e-05, allocations: 6.281 kB / 395.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003066/0.003087, allocations: 2.14 MB / 397.2 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.004169, allocations: 0.5776 MB / 397.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.004347, allocations: 15.81 kB / 397.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.004552, allocations: 75.25 kB / 397.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.056e-05/0.004632, allocations: 39.56 kB / 397.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.005282, allocations: 343.1 kB / 398.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.005738, allocations: 0.5008 MB / 398.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.005911, allocations: 73.17 kB / 398.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.006117, allocations: 223.5 kB / 399.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.006301, allocations: 155.5 kB / 399.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.006341, allocations: 31.98 kB / 399.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.966e-05/0.006371, allocations: 32 kB / 399.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.006465, allocations: 139.5 kB / 399.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.006571, allocations: 123.6 kB / 399.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.006861, allocations: 406.5 kB / 399.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.006864, allocations: 0 / 399.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.006865, allocations: 0 / 399.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.006871, allocations: 0 / 399.9 MB, free: 13.79 MB / 378.7 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.0009139/0.007785, allocations: 0.6959 MB / 400.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.007822, allocations: 8.031 kB / 400.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.007882, allocations: 82.7 kB / 400.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.00794, allocations: 56.56 kB / 400.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.008334, allocations: 344 kB / 401.1 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.008357, allocations: 29.38 kB / 401.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.008402, allocations: 40.38 kB / 401.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.008919, allocations: 0.4888 MB / 401.7 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.00894, allocations: 12.08 kB / 401.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.008964, allocations: 16.38 kB / 401.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.008976, allocations: 12.12 kB / 401.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.009375, allocations: 343.6 kB / 402 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.01115, allocations: 1.831 MB / 403.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.01161, allocations: 221.6 kB / 404.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.01174, allocations: 116.7 kB / 404.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.01177, allocations: 4 kB / 404.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.01178, allocations: 38.56 kB / 404.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.332e-06/0.01179, allocations: 0 / 404.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004785/0.01226, allocations: 369.5 kB / 404.6 MB, free: 8.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.0123, allocations: 55.41 kB / 404.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.01262, allocations: 445.7 kB / 405.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01264, allocations: 33.7 kB / 405.1 MB, free: 8.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.01278, allocations: 276 kB / 405.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.01283, allocations: 99.19 kB / 405.5 MB, free: 7.969 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.039e-05/0.01291, allocations: 90.14 kB / 405.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003419/0.01325, allocations: 358.8 kB / 405.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.01338, allocations: 112.9 kB / 406 MB, free: 7.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.01358, allocations: 278.7 kB / 406.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.01472, allocations: 0.7453 MB / 407 MB, free: 6.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01472, allocations: 0 / 407 MB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005189/0.01524, allocations: 0.4968 MB / 407.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01526, allocations: 8 kB / 407.6 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.01527, allocations: 4 kB / 407.6 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01528, allocations: 8 kB / 407.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.01551, allocations: 115.8 kB / 407.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.01552, allocations: 19.86 kB / 407.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.01565, allocations: 67.91 kB / 407.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.01567, allocations: 24 kB / 407.8 MB, free: 5.492 MB / 378.7 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.0002079/0.01588, allocations: 203.5 kB / 408 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.01592, allocations: 43.72 kB / 408 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/0.01634, allocations: 345.6 kB / 408.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01634, allocations: 4 kB / 408.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01635, allocations: 0 / 408.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01635, allocations: 3.938 kB / 408.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.01666, allocations: 368.4 kB / 408.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01666, allocations: 0 / 408.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.01687, allocations: 79.88 kB / 408.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01687, allocations: 0 / 408.8 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.01689, allocations: 8 kB / 408.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01689, allocations: 0 / 408.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01689, allocations: 0 / 408.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.01736, allocations: 0.539 MB / 409.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.0174, allocations: 51.66 kB / 409.4 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.01743, allocations: 8 kB / 409.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.0175, allocations: 15.98 kB / 409.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.01754, allocations: 19.95 kB / 409.5 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.01755, allocations: 11.94 kB / 409.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.01775, allocations: 295.1 kB / 409.8 MB, free: 3.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01775, allocations: 0 / 409.8 MB, free: 3.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.01799, allocations: 67.89 kB / 409.8 MB, free: 3.383 MB / 378.7 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.0006224/0.01862, allocations: 1.084 MB / 410.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.01898, allocations: 308.8 kB / 411.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01898, allocations: 0 / 411.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.01911, allocations: 132 kB / 411.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.01947, allocations: 49.58 kB / 411.4 MB, free: 1.797 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.02455, allocations: 3.934 MB / 415.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.02478, allocations: 254 kB / 415.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.02497, allocations: 83.3 kB / 415.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.02515, allocations: 160.4 kB / 415.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02516, allocations: 0 / 415.8 MB, free: 13.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.04493, allocations: 7.639 MB / 423.4 MB, free: 5.629 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.056/7.101, allocations: 4.062 kB / 423.4 MB, free: 5.625 MB / 394.7 MB " [Timeout remaining time 653] (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: 8.959103155881166] Failed to read output from testmodel.py, exit status != 0: 7.184594891034067 7.19310303 7.184308988 Calling exit ...