Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 195.9 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.223/3.223, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.08742/0.08742, allocations: 10.74 MB / 280.5 MB, free: 10.5 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003493/0.003494, allocations: 68.47 kB / 340.6 MB, free: 23.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2297, allocations: 49.02 MB / 389.7 MB, free: 6.148 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.00806/0.2379, allocations: 2.105 MB / 391.8 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.2404, allocations: 0.4908 MB / 392.2 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.2408, allocations: 11.94 kB / 392.3 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.2414, allocations: 47.47 kB / 392.3 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.2416, allocations: 43.59 kB / 392.4 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.243, allocations: 235.5 kB / 392.6 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009744/0.244, allocations: 0.4915 MB / 393.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.2445, allocations: 80.94 kB / 393.2 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/0.2449, allocations: 163.4 kB / 393.3 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.2454, allocations: 179.2 kB / 393.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.446e-05/0.2455, allocations: 32 kB / 393.5 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.872e-05/0.2456, allocations: 28 kB / 393.5 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.2459, allocations: 127.6 kB / 393.7 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.2463, allocations: 170.9 kB / 393.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007982/0.2471, allocations: 358.7 kB / 394.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.2471, allocations: 0 / 394.2 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.33e-06/0.2471, allocations: 4 kB / 394.2 MB, free: 1.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.2472, allocations: 0 / 394.2 MB, free: 1.586 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006142/0.2533, allocations: 0.7131 MB / 394.9 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.504e-05/0.2534, allocations: 15.83 kB / 394.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.2536, allocations: 78.72 kB / 395 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.2538, allocations: 48.38 kB / 395 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.2548, allocations: 367.6 kB / 395.4 MB, free: 280 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.2549, allocations: 80.62 kB / 395.5 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.255, allocations: 36.36 kB / 395.5 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.2564, allocations: 419.9 kB / 395.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.2565, allocations: 3.906 kB / 395.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.2565, allocations: 16 kB / 395.9 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.2566, allocations: 8 kB / 396 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.2576, allocations: 302.3 kB / 396.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.2619, allocations: 1.559 MB / 397.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.2626, allocations: 190.4 kB / 398 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.263, allocations: 120.8 kB / 398.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-05/0.2631, allocations: 4 kB / 398.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.2631, allocations: 30.56 kB / 398.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 7.233e-06/0.2631, allocations: 0 / 398.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001451/0.2646, allocations: 345.3 kB / 398.5 MB, free: 13.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.2647, allocations: 55.41 kB / 398.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/0.2657, allocations: 397.5 kB / 398.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.2658, allocations: 33.7 kB / 399 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.2662, allocations: 231.9 kB / 399.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.2663, allocations: 90.75 kB / 399.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.2666, allocations: 73.92 kB / 399.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003337/0.2669, allocations: 358.7 kB / 399.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.2674, allocations: 96.7 kB / 399.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.268, allocations: 224.8 kB / 400 MB, free: 11.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.2715, allocations: 0.6249 MB / 400.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.2715, allocations: 0 / 400.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001465/0.273, allocations: 430.1 kB / 401.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.2731, allocations: 4 kB / 401.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.2731, allocations: 4 kB / 401.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.382e-05/0.2731, allocations: 12.41 kB / 401.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.2739, allocations: 95.88 kB / 401.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.274, allocations: 11.94 kB / 401.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.2745, allocations: 47.52 kB / 401.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.2745, allocations: 19.94 kB / 401.2 MB, free: 10.13 MB / 302.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: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0005605/0.2751, allocations: 203.5 kB / 401.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2752, allocations: 31.62 kB / 401.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2764, allocations: 304.8 kB / 401.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.2764, allocations: 4 kB / 401.8 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.2765, allocations: 3.938 kB / 401.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2765, allocations: 0 / 401.8 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.2773, allocations: 397.2 kB / 402.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2774, allocations: 0 / 402.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008235/0.2782, allocations: 67.95 kB / 402.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.2782, allocations: 0 / 402.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.424e-05/0.2783, allocations: 15.98 kB / 402.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2783, allocations: 0 / 402.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.2783, allocations: 3.938 kB / 402.3 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.2797, allocations: 0.4909 MB / 402.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.2799, allocations: 112.6 kB / 402.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.28, allocations: 8 kB / 402.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.2803, allocations: 15.98 kB / 402.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.2804, allocations: 19.91 kB / 402.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.2805, allocations: 8 kB / 402.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005591/0.2811, allocations: 271.1 kB / 403.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2811, allocations: 0 / 403.2 MB, free: 8.102 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007606/0.2818, allocations: 75.69 kB / 403.2 MB, free: 8.027 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.002058/0.2839, allocations: 1.033 MB / 404.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.2851, allocations: 311.4 kB / 404.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2852, allocations: 0 / 404.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.2856, allocations: 116.8 kB / 404.7 MB, free: 6.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.2863, allocations: 59.41 kB / 404.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0089/0.2952, allocations: 3.672 MB / 408.4 MB, free: 2.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.2961, allocations: 0.8302 MB / 409.3 MB, free: 1.801 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004995/0.2966, allocations: 71.22 kB / 409.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.297, allocations: 143.4 kB / 409.5 MB, free: 1.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.874e-06/0.297, allocations: 0 / 409.5 MB, free: 1.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09531/0.3923, allocations: 6.149 MB / 415.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/18.43, allocations: 3.938 kB / 415.6 MB, free: 11.47 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)