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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.005999/0.005999, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05806/0.05806, allocations: 10.73 MB / 26.59 MB, free: 2.266 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 235.2 MB, free: 176 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 90.28 kB / 285.9 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 8 kB / 346.5 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 49.98 MB / 396.5 MB, free: 3.008 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/0.5248, allocations: 78.08 MB / 474.6 MB, free: 17.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5251, allocations: 71.27 kB / 474.6 MB, free: 17.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.5363, allocations: 4.529 MB / 479.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5363, allocations: 0 / 479.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.364e-05/0.5363, allocations: 8 kB / 479.2 MB, free: 14.43 MB / 346.7 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.0007842/0.5371, allocations: 0.6561 MB / 479.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5372, allocations: 12.02 kB / 479.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.153e-05/0.5373, allocations: 74.91 kB / 479.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.5373, allocations: 50.94 kB / 480 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.5379, allocations: 375 kB / 480.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.5379, allocations: 22.53 kB / 480.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.5379, allocations: 37.81 kB / 480.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.5385, allocations: 427.4 kB / 480.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.5385, allocations: 7.906 kB / 480.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.5386, allocations: 23.7 kB / 480.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5386, allocations: 8 kB / 480.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.539, allocations: 290.5 kB / 481.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5408, allocations: 1.496 MB / 482.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.5411, allocations: 177.9 kB / 482.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.5412, allocations: 4.188 kB / 482.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.5412, allocations: 38.38 kB / 482.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.034e-06/0.5412, allocations: 0 / 482.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005571/0.5418, allocations: 336.8 kB / 483.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.5418, allocations: 51.41 kB / 483.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.5421, allocations: 358.4 kB / 483.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.5421, allocations: 29.69 kB / 483.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.5422, allocations: 240.4 kB / 483.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.5423, allocations: 85.25 kB / 483.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.5423, allocations: 3.188 kB / 483.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.5424, allocations: 353.1 kB / 484.3 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.5425, allocations: 97.75 kB / 484.4 MB, free: 9.773 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.5428, allocations: 214.6 kB / 484.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.543, allocations: 128 kB / 484.7 MB, free: 9.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.543, allocations: 4 kB / 484.7 MB, free: 9.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005165/0.5435, allocations: 426 kB / 485.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5435, allocations: 9.875 kB / 485.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5435, allocations: 0 / 485.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5436, allocations: 8 kB / 485.1 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.5439, allocations: 90.92 kB / 485.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.5439, allocations: 11.94 kB / 485.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.544, allocations: 53.08 kB / 485.3 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.5441, allocations: 18.77 kB / 485.3 MB, free: 8.945 MB / 346.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] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.5443, allocations: 195.7 kB / 485.5 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.5443, allocations: 38.84 kB / 485.5 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.5448, allocations: 297 kB / 485.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5448, allocations: 0 / 485.8 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.5448, allocations: 3.984 kB / 485.8 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5448, allocations: 0 / 485.8 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.5452, allocations: 385 kB / 486.2 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5452, allocations: 0 / 486.2 MB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.5455, allocations: 59.95 kB / 486.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5455, allocations: 0 / 486.3 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.5455, allocations: 7.875 kB / 486.3 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5455, allocations: 4 kB / 486.3 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5455, allocations: 8.812 kB / 486.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.5461, allocations: 492.8 kB / 486.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.5461, allocations: 116.1 kB / 486.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.5462, allocations: 7.688 kB / 486.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.5463, allocations: 15.17 kB / 486.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.5464, allocations: 15.97 kB / 486.9 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.5464, allocations: 6.5 kB / 486.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000208/0.5466, allocations: 269.2 kB / 487.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5466, allocations: 192 / 487.2 MB, free: 7.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.5469, allocations: 70.56 kB / 487.3 MB, free: 7.234 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000704/0.5476, allocations: 1.039 MB / 488.3 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004034/0.5481, allocations: 274.2 kB / 488.6 MB, free: 6.055 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5481, allocations: 4 kB / 488.6 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.5482, allocations: 114.7 kB / 488.7 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.5485, allocations: 34.2 kB / 488.7 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.5515, allocations: 4.64 MB / 493.4 MB, free: 1.523 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.5518, allocations: 0.8453 MB / 494.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.552, allocations: 66.92 kB / 494.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.5521, allocations: 138.4 kB / 494.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5521, allocations: 0 / 494.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.5698, allocations: 5.836 MB / 0.4885 GB, free: 10.78 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.57, allocations: 198.9 kB / 0.4887 GB, free: 10.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.568, allocations: 0 / 0.4887 GB, free: 10.54 MB / 362.7 MB (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/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestP_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)