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.0007897/0.0007897, 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.001283/0.001283, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8776/0.8776, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03413/0.03413, allocations: 8.602 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.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: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 395.1 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.482e-05, allocations: 6.281 kB / 395.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002332/0.002346, allocations: 2.112 MB / 397.2 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000973/0.003319, allocations: 443.8 kB / 397.6 MB, free: 100 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.003438, allocations: 19.81 kB / 397.6 MB, free: 80 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.003609, allocations: 71.33 kB / 397.7 MB, free: 8 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.003691, allocations: 43.47 kB / 397.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.004127, allocations: 267.4 kB / 398 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.004465, allocations: 444.3 kB / 398.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.004601, allocations: 73.11 kB / 398.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.00474, allocations: 199.5 kB / 398.7 MB, free: 15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.004878, allocations: 143.5 kB / 398.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.242e-05/0.00492, allocations: 28 kB / 398.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.699e-05/0.004947, allocations: 28 kB / 398.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.005033, allocations: 131.5 kB / 399 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.005103, allocations: 103.7 kB / 399.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.005385, allocations: 378.6 kB / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.005387, allocations: 0 / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005388, allocations: 0 / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.005392, allocations: 0 / 399.5 MB, free: 14.2 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0007489/0.006141, allocations: 0.6804 MB / 400.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.006179, allocations: 8.031 kB / 400.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/0.006242, allocations: 78.72 kB / 400.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.006293, allocations: 56.59 kB / 400.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.006647, allocations: 328 kB / 400.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.006671, allocations: 29.38 kB / 400.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.006712, allocations: 36.38 kB / 400.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.007169, allocations: 467.9 kB / 401.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.007187, allocations: 12.19 kB / 401.2 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.007208, allocations: 12.38 kB / 401.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.007217, allocations: 16.12 kB / 401.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.00757, allocations: 318.3 kB / 401.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.009045, allocations: 1.775 MB / 403.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.009349, allocations: 170.6 kB / 403.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.009465, allocations: 104 kB / 403.6 MB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.009489, allocations: 4 kB / 403.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.009507, allocations: 38.5 kB / 403.6 MB, free: 9.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.009508, allocations: 0 / 403.6 MB, free: 9.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004162/0.009924, allocations: 321.6 kB / 403.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.009954, allocations: 55.41 kB / 404 MB, free: 9.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.01026, allocations: 441.7 kB / 404.4 MB, free: 9.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.01027, allocations: 29.7 kB / 404.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.01064, allocations: 268.2 kB / 404.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.01069, allocations: 91.27 kB / 404.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.01076, allocations: 85.42 kB / 404.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.01086, allocations: 350.8 kB / 405.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.01097, allocations: 100.4 kB / 405.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.01114, allocations: 245.8 kB / 405.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/0.01198, allocations: 0.6348 MB / 406.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01199, allocations: 3.938 kB / 406.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004334/0.01242, allocations: 465 kB / 406.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.01244, allocations: 8 kB / 406.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.01244, allocations: 4 kB / 406.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01246, allocations: 8 kB / 406.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.01264, allocations: 91.83 kB / 406.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.01265, allocations: 15.92 kB / 406.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01275, allocations: 60.08 kB / 406.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.01277, allocations: 23.94 kB / 406.8 MB, free: 6.445 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: 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.000163/0.01293, allocations: 191.7 kB / 407 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.01297, allocations: 43.72 kB / 407.1 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.0133, allocations: 297.2 kB / 407.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01331, allocations: 4 kB / 407.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01331, allocations: 0 / 407.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01332, allocations: 0 / 407.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.01358, allocations: 340.4 kB / 407.7 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01358, allocations: 3.984 kB / 407.7 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.01375, allocations: 59.91 kB / 407.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.01375, allocations: 4 kB / 407.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.01377, allocations: 11.98 kB / 407.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01377, allocations: 0 / 407.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01377, allocations: 3.938 kB / 407.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.0142, allocations: 482.7 kB / 408.3 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.01423, allocations: 31.77 kB / 408.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.01426, allocations: 11.98 kB / 408.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.01433, allocations: 15.98 kB / 408.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01437, allocations: 19.97 kB / 408.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.01438, allocations: 8 kB / 408.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001856/0.01456, allocations: 287.2 kB / 408.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01456, allocations: 3.938 kB / 408.6 MB, free: 4.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.01479, allocations: 75.72 kB / 408.7 MB, free: 4.52 MB / 378.7 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.0005814/0.01537, allocations: 1.015 MB / 409.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.01568, allocations: 279.5 kB / 410 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01568, allocations: 3.938 kB / 410 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01579, allocations: 105.2 kB / 410.1 MB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.01603, allocations: 41.58 kB / 410.1 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.01904, allocations: 3.71 MB / 413.8 MB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.01918, allocations: 233.3 kB / 414.1 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.01929, allocations: 75.22 kB / 414.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.01942, allocations: 152.4 kB / 414.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.01942, allocations: 0 / 414.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.03867, allocations: 7.103 MB / 421.4 MB, free: 7.711 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.078, allocations: 7.156 kB / 421.4 MB, free: 7.707 MB / 394.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 8.814858682453632] Failed to read output from testmodel.py, exit status != 0: 7.163158753886819 7.173115635 7.166051465 Calling exit ...