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.001093/0.001093, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008257/0.0008257, 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.9051/0.9051, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.03422/0.03422, allocations: 8.61 MB / 267.8 MB, free: 5.117 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 4.568e-06/4.568e-06, allocations: 7.984 kB / 395.1 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.81e-05, allocations: 2.281 kB / 395.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.00251/0.002539, allocations: 2.111 MB / 397.2 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000762/0.003301, allocations: 451.8 kB / 397.6 MB, free: 88 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.00345, allocations: 19.75 kB / 397.7 MB, free: 68 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.003676, allocations: 59.39 kB / 397.7 MB, free: 8 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.791e-05/0.003774, allocations: 43.48 kB / 397.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.004329, allocations: 275.4 kB / 398 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.004752, allocations: 448.2 kB / 398.5 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.00493, allocations: 65.2 kB / 398.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.00509, allocations: 199.5 kB / 398.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.005241, allocations: 139.5 kB / 398.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.005287, allocations: 28 kB / 398.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.799e-05/0.005315, allocations: 28 kB / 398.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.005411, allocations: 127.5 kB / 399 MB, free: 14.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.005497, allocations: 111.6 kB / 399.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.00577, allocations: 378.6 kB / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.005772, allocations: 0 / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005773, allocations: 4 kB / 399.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.005779, allocations: 0 / 399.5 MB, free: 14.19 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.0007362/0.006515, allocations: 0.6687 MB / 400.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.006552, allocations: 12.03 kB / 400.2 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.006615, allocations: 78.7 kB / 400.3 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.006668, allocations: 56.61 kB / 400.3 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.007024, allocations: 327.9 kB / 400.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.007048, allocations: 33.38 kB / 400.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.00709, allocations: 40.36 kB / 400.7 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.007533, allocations: 464 kB / 401.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.007552, allocations: 8.188 kB / 401.2 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.007579, allocations: 16.38 kB / 401.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.007589, allocations: 12.12 kB / 401.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.007929, allocations: 314.3 kB / 401.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.009363, allocations: 1.786 MB / 403.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.009673, allocations: 162.6 kB / 403.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.009792, allocations: 108 kB / 403.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.009818, allocations: 4 kB / 403.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.009843, allocations: 30.56 kB / 403.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.654e-06/0.009844, allocations: 0 / 403.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004139/0.01026, allocations: 333.5 kB / 403.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.01029, allocations: 55.41 kB / 404 MB, free: 9.492 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.01059, allocations: 437.7 kB / 404.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.01061, allocations: 33.64 kB / 404.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.01074, allocations: 260.2 kB / 404.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.01079, allocations: 91.27 kB / 404.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.01086, allocations: 85.42 kB / 404.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.01096, allocations: 350.8 kB / 405.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.01108, allocations: 104.4 kB / 405.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.01126, allocations: 249.8 kB / 405.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.01219, allocations: 0.6309 MB / 406.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.01219, allocations: 4 kB / 406.2 MB, free: 7.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004755/0.01267, allocations: 456.8 kB / 406.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.01269, allocations: 8 kB / 406.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.0127, allocations: 4.656 kB / 406.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01271, allocations: 12 kB / 406.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.0129, allocations: 99.81 kB / 406.8 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.01291, allocations: 8 kB / 406.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/0.01301, allocations: 55.61 kB / 406.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.01303, allocations: 23.94 kB / 406.8 MB, free: 6.449 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.0001711/0.0132, allocations: 203.5 kB / 407 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.01324, allocations: 39.72 kB / 407.1 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003337/0.01357, allocations: 293.2 kB / 407.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01357, allocations: 4 kB / 407.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01358, allocations: 0 / 407.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01358, allocations: 4 kB / 407.4 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.01385, allocations: 344.4 kB / 407.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01386, allocations: 4 kB / 407.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.01403, allocations: 51.97 kB / 407.8 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.01403, allocations: 3.984 kB / 407.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.01405, allocations: 8 kB / 407.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01405, allocations: 0 / 407.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01405, allocations: 11.88 kB / 407.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.0145, allocations: 482.7 kB / 408.3 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.01453, allocations: 31.77 kB / 408.3 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.01456, allocations: 11.98 kB / 408.3 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.01463, allocations: 23.92 kB / 408.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.01468, allocations: 19.95 kB / 408.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.01468, allocations: 4 kB / 408.3 MB, free: 4.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002089/0.01489, allocations: 287.1 kB / 408.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01489, allocations: 0 / 408.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.01514, allocations: 79.72 kB / 408.7 MB, free: 4.512 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.0007003/0.01584, allocations: 1.019 MB / 409.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.01618, allocations: 276.6 kB / 410 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01618, allocations: 0 / 410 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.01631, allocations: 112.1 kB / 410.1 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01655, allocations: 33.59 kB / 410.1 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.01946, allocations: 3.71 MB / 413.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.01961, allocations: 237.3 kB / 414.1 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.01972, allocations: 71.23 kB / 414.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.01987, allocations: 156.4 kB / 414.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01987, allocations: 0 / 414.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.04031, allocations: 7.107 MB / 421.4 MB, free: 7.699 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.152, allocations: 3.094 kB / 421.4 MB, free: 7.699 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 & 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: 9.032284634187818] Failed to read output from testmodel.py, exit status != 0: 7.237190758809447 7.246505736 7.238956314 Calling exit ...