Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.0008128/0.0008128, 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.0009484/0.0009484, 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.9233/0.9233, allocations: 177.1 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.03505/0.03505, allocations: 8.606 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.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPID_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPID_bias",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 395.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.81e-05, allocations: 2.281 kB / 395.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003923/0.003952, allocations: 2.158 MB / 397.2 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.005596, allocations: 0.6947 MB / 397.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003082/0.005904, allocations: 31.69 kB / 398 MB, free: 15.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.006167, allocations: 59.33 kB / 398 MB, free: 15.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.00643, allocations: 67.28 kB / 398.1 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.007466, allocations: 395.1 kB / 398.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007289/0.008195, allocations: 0.5436 MB / 399 MB, free: 14.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.008415, allocations: 77.19 kB / 399.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.008866, allocations: 275.3 kB / 399.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.009225, allocations: 159.5 kB / 399.5 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.009345, allocations: 35.94 kB / 399.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.009404, allocations: 36 kB / 399.6 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.009565, allocations: 143.5 kB / 399.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.009725, allocations: 127.5 kB / 399.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.01027, allocations: 438.5 kB / 400.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.01027, allocations: 4 kB / 400.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01027, allocations: 0 / 400.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.01029, allocations: 0 / 400.3 MB, free: 13.43 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.001332/0.01162, allocations: 0.7426 MB / 401 MB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.01167, allocations: 12.03 kB / 401 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.017e-05/0.01176, allocations: 78.7 kB / 401.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.799e-05/0.01186, allocations: 60.56 kB / 401.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000627/0.01248, allocations: 370.2 kB / 401.5 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.193e-05/0.01258, allocations: 96.89 kB / 401.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/0.01265, allocations: 48.33 kB / 401.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007992/0.01345, allocations: 0.5006 MB / 402.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.01349, allocations: 4.188 kB / 402.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.01353, allocations: 16.38 kB / 402.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.01354, allocations: 11.94 kB / 402.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006513/0.01419, allocations: 367.6 kB / 402.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.01624, allocations: 1.944 MB / 404.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.0168, allocations: 291.1 kB / 404.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.01813, allocations: 162.2 kB / 404.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.01818, allocations: 12.25 kB / 405 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.0182, allocations: 38.84 kB / 405 MB, free: 8.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.065e-06/0.01821, allocations: 0 / 405 MB, free: 8.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008592/0.01907, allocations: 441.8 kB / 405.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.01911, allocations: 59.39 kB / 405.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.01961, allocations: 457.7 kB / 405.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.01964, allocations: 33.7 kB / 406 MB, free: 7.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.01983, allocations: 272.2 kB / 406.2 MB, free: 7.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.486e-05/0.01993, allocations: 130.9 kB / 406.4 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.02005, allocations: 98.14 kB / 406.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.02018, allocations: 362.7 kB / 406.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.02039, allocations: 137.1 kB / 406.9 MB, free: 6.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.02068, allocations: 275 kB / 407.2 MB, free: 6.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.02248, allocations: 0.8357 MB / 408 MB, free: 5.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.02248, allocations: 3.938 kB / 408 MB, free: 5.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000753/0.02324, allocations: 0.5398 MB / 408.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.02326, allocations: 4.594 kB / 408.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.02327, allocations: 8 kB / 408.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.02329, allocations: 8 kB / 408.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.02374, allocations: 127.8 kB / 408.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.02375, allocations: 4 kB / 408.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.02395, allocations: 63.55 kB / 408.8 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.02398, allocations: 20 kB / 408.8 MB, free: 4.469 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: 20 * 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 (65): * Single equations (assignments): 65 * 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.0002379/0.02422, allocations: 215.5 kB / 409 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.02426, allocations: 47.72 kB / 409.1 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.02477, allocations: 409.8 kB / 409.5 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.02477, allocations: 4 kB / 409.5 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02478, allocations: 0 / 409.5 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.02479, allocations: 7.969 kB / 409.5 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.02514, allocations: 396.1 kB / 409.9 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02514, allocations: 0 / 409.9 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.02543, allocations: 99.86 kB / 410 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.02544, allocations: 4 kB / 410 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.02546, allocations: 12 kB / 410 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.02546, allocations: 3.938 kB / 410 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.02546, allocations: 0 / 410 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.02606, allocations: 0.6288 MB / 410.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.0261, allocations: 51.59 kB / 410.7 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.02614, allocations: 16 kB / 410.7 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.02622, allocations: 11.98 kB / 410.7 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.02627, allocations: 27.89 kB / 410.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.02629, allocations: 8 kB / 410.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002081/0.02649, allocations: 307.1 kB / 411 MB, free: 2.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02649, allocations: 0 / 411 MB, free: 2.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.02676, allocations: 83.84 kB / 411.1 MB, free: 2.102 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.000749/0.02751, allocations: 1.178 MB / 412.3 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004186/0.02793, allocations: 363.8 kB / 412.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.02793, allocations: 4 kB / 412.7 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.02809, allocations: 159.5 kB / 412.8 MB, free: 384 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.02841, allocations: 50.16 kB / 412.9 MB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.03393, allocations: 4.193 MB / 417 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.0342, allocations: 264.2 kB / 417.3 MB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00028/0.03448, allocations: 92.14 kB / 417.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.03475, allocations: 180.4 kB / 417.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/0.03475, allocations: 4 kB / 417.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.0624, allocations: 8.333 MB / 425.9 MB, free: 3.199 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.228, allocations: 7.141 kB / 425.9 MB, free: 3.195 MB / 394.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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_TestPID_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.113781698048115] Failed to read output from testmodel.py, exit status != 0: 7.3140067011117935 7.331799155 7.318902611 Calling exit ...