Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_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.001072/0.001072, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06032/0.06032, allocations: 10.65 MB / 23.91 MB, free: 1.379 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.855/1.855, allocations: 205.2 MB / 232.1 MB, free: 12.77 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008998/0.0008998, allocations: 97.12 kB / 282.6 MB, free: 13.58 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 4.544e-05/4.553e-05, allocations: 4 kB / 340.6 MB, free: 3.52 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3732, allocations: 49.98 MB / 390.6 MB, free: 35.71 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.4821, allocations: 78.46 MB / 469 MB, free: 5.145 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4824, allocations: 67.97 kB / 469.1 MB, free: 5.078 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.4958, allocations: 4.78 MB / 473.9 MB, free: 276 kB / 346.8 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4959, allocations: 0 / 473.9 MB, free: 276 kB / 346.8 MB Notification: Performance of Transformations before backend: time 3.131e-05/0.4959, allocations: 16 kB / 473.9 MB, free: 260 kB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009783/0.4969, allocations: 0.6351 MB / 474.5 MB, free: 15.57 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.497, allocations: 8.031 kB / 474.5 MB, free: 15.57 MB / 362.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.421e-05/0.4971, allocations: 74.53 kB / 474.6 MB, free: 15.48 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.922e-05/0.4971, allocations: 47.44 kB / 474.7 MB, free: 15.44 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.4978, allocations: 388.2 kB / 475 MB, free: 15.02 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.4979, allocations: 28.78 kB / 475.1 MB, free: 14.99 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.4979, allocations: 32 kB / 475.1 MB, free: 14.96 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.4986, allocations: 420 kB / 475.5 MB, free: 14.52 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.4987, allocations: 11.89 kB / 475.5 MB, free: 14.5 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.4987, allocations: 12 kB / 475.5 MB, free: 14.49 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.4988, allocations: 8 kB / 475.5 MB, free: 14.48 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.4992, allocations: 287 kB / 475.8 MB, free: 14.2 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.5016, allocations: 1.544 MB / 477.4 MB, free: 12.58 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.5023, allocations: 215.9 kB / 477.6 MB, free: 12.36 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.5025, allocations: 110.1 kB / 477.7 MB, free: 12.25 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.5025, allocations: 11.88 kB / 477.7 MB, free: 12.24 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.5026, allocations: 34.56 kB / 477.7 MB, free: 12.2 MB / 362.8 MB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/0.5026, allocations: 4 kB / 477.7 MB, free: 12.19 MB / 362.8 MB Notification: Performance of matching and sorting (n=25): time 0.0005385/0.5031, allocations: 245.7 kB / 478 MB, free: 11.95 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.5032, allocations: 55.41 kB / 478 MB, free: 11.88 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.5036, allocations: 350.8 kB / 478.4 MB, free: 11.53 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.5036, allocations: 29.7 kB / 478.4 MB, free: 11.5 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.5038, allocations: 247.9 kB / 478.6 MB, free: 11.25 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.5039, allocations: 86.72 kB / 478.7 MB, free: 11.16 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.5039, allocations: 8 kB / 478.7 MB, free: 11.16 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.5041, allocations: 358.7 kB / 479.1 MB, free: 10.8 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5043, allocations: 96.42 kB / 479.2 MB, free: 10.7 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.5045, allocations: 204.5 kB / 479.4 MB, free: 10.45 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.5048, allocations: 139.2 kB / 479.5 MB, free: 10.31 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.5048, allocations: 4 kB / 479.5 MB, free: 10.31 MB / 362.8 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005963/0.5054, allocations: 432.5 kB / 479.9 MB, free: 9.879 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5054, allocations: 8 kB / 479.9 MB, free: 9.871 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5054, allocations: 0 / 479.9 MB, free: 9.871 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.5055, allocations: 8 kB / 479.9 MB, free: 9.863 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.5058, allocations: 107.8 kB / 480.1 MB, free: 9.758 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.5059, allocations: 4 kB / 480.1 MB, free: 9.754 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.5061, allocations: 51.52 kB / 480.1 MB, free: 9.703 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.5061, allocations: 20.19 kB / 480.1 MB, free: 9.684 MB / 362.8 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.5063, allocations: 147.5 kB / 480.3 MB, free: 9.531 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.5064, allocations: 35.53 kB / 480.3 MB, free: 9.496 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.507, allocations: 322.1 kB / 480.6 MB, free: 9.18 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.507, allocations: 4 kB / 480.6 MB, free: 9.176 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.507, allocations: 0 / 480.6 MB, free: 9.176 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.507, allocations: 0 / 480.6 MB, free: 9.176 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.5075, allocations: 409 kB / 481 MB, free: 8.727 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5075, allocations: 0 / 481 MB, free: 8.727 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.5079, allocations: 87.88 kB / 481.1 MB, free: 8.641 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.508, allocations: 0 / 481.1 MB, free: 8.641 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.508, allocations: 8 kB / 481.1 MB, free: 8.633 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.508, allocations: 0 / 481.1 MB, free: 8.633 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.508, allocations: 4 kB / 481.1 MB, free: 8.629 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.5087, allocations: 0.4963 MB / 481.6 MB, free: 8.113 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.5088, allocations: 116.6 kB / 481.7 MB, free: 7.98 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.5089, allocations: 11.98 kB / 481.7 MB, free: 7.969 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.509, allocations: 19.98 kB / 481.8 MB, free: 7.949 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.5091, allocations: 15.98 kB / 481.8 MB, free: 7.934 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.5091, allocations: 7.984 kB / 481.8 MB, free: 7.926 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002886/0.5094, allocations: 269.2 kB / 482 MB, free: 7.664 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5094, allocations: 0 / 482 MB, free: 7.664 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003346/0.5098, allocations: 67.84 kB / 482.1 MB, free: 7.598 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.0009825/0.5108, allocations: 1.045 MB / 483.2 MB, free: 6.527 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004436/0.5112, allocations: 280.5 kB / 483.4 MB, free: 6.254 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5112, allocations: 4.875 kB / 483.4 MB, free: 6.25 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.5114, allocations: 127.8 kB / 483.6 MB, free: 6.125 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.5117, allocations: 33.77 kB / 483.6 MB, free: 6.094 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.513, allocations: 0.7815 MB / 484.4 MB, free: 5.277 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.5134, allocations: 0.8421 MB / 485.2 MB, free: 4.41 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.5136, allocations: 83.22 kB / 485.3 MB, free: 4.328 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.5138, allocations: 143.4 kB / 485.4 MB, free: 4.188 MB / 362.8 MB Notification: Performance of SimCode: time 4.41e-07/0.5138, allocations: 0 / 485.4 MB, free: 4.188 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.5329, allocations: 6.169 MB / 491.6 MB, free: 14.11 MB / 378.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.5331, allocations: 175.9 kB / 491.8 MB, free: 13.89 MB / 378.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.119/2.652, allocations: 0 / 491.8 MB, free: 13.89 MB / 378.8 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)