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.001437/0.001437, 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.08141/0.08141, allocations: 10.66 MB / 23.92 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.783/1.783, allocations: 205.2 MB / 232.1 MB, free: 12.83 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.001056/0.001056, allocations: 97.98 kB / 282.6 MB, free: 13.58 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 4.117e-05/4.127e-05, allocations: 4 kB / 340.6 MB, free: 3.52 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3147, allocations: 49.98 MB / 390.6 MB, free: 35.7 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.4219, allocations: 77.99 MB / 468.6 MB, free: 5.602 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.4223, allocations: 71.97 kB / 468.6 MB, free: 5.531 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.4348, allocations: 4.496 MB / 473.1 MB, free: 1.008 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4348, allocations: 4 kB / 473.1 MB, free: 1.004 MB / 346.8 MB Notification: Performance of Transformations before backend: time 3.225e-05/0.4349, allocations: 11.98 kB / 473.1 MB, free: 0.9922 MB / 346.8 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.0009673/0.4358, allocations: 0.6234 MB / 473.8 MB, free: 332 kB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.4359, allocations: 12.03 kB / 473.8 MB, free: 320 kB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.198e-05/0.436, allocations: 70.53 kB / 473.8 MB, free: 240 kB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.832e-05/0.4361, allocations: 43.44 kB / 473.9 MB, free: 196 kB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/0.4367, allocations: 364.3 kB / 474.2 MB, free: 15.79 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/0.4368, allocations: 28.77 kB / 474.3 MB, free: 15.77 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.4369, allocations: 35.94 kB / 474.3 MB, free: 15.73 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006414/0.4375, allocations: 416 kB / 474.7 MB, free: 15.29 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.4376, allocations: 3.906 kB / 474.7 MB, free: 15.29 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.4376, allocations: 19.95 kB / 474.7 MB, free: 15.27 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.4376, allocations: 8 kB / 474.7 MB, free: 15.26 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.4381, allocations: 270.9 kB / 475 MB, free: 15 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.4403, allocations: 1.501 MB / 476.5 MB, free: 13.41 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.4407, allocations: 159.1 kB / 476.7 MB, free: 13.25 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.4409, allocations: 105.2 kB / 476.8 MB, free: 13.14 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.4409, allocations: 192 / 476.8 MB, free: 13.14 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.441, allocations: 38.69 kB / 476.8 MB, free: 13.09 MB / 362.8 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.441, allocations: 4 kB / 476.8 MB, free: 13.09 MB / 362.8 MB Notification: Performance of matching and sorting (n=21): time 0.0004136/0.4414, allocations: 226.2 kB / 477 MB, free: 12.87 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.4414, allocations: 59.36 kB / 477.1 MB, free: 12.8 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.4418, allocations: 347.4 kB / 477.4 MB, free: 12.45 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.4419, allocations: 25.7 kB / 477.5 MB, free: 12.42 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.442, allocations: 235.7 kB / 477.7 MB, free: 12.19 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.349e-05/0.4421, allocations: 78.81 kB / 477.8 MB, free: 12.11 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.4421, allocations: 8 kB / 477.8 MB, free: 12.1 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4422, allocations: 354.8 kB / 478.1 MB, free: 11.75 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4424, allocations: 80.34 kB / 478.2 MB, free: 11.66 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.4426, allocations: 201.9 kB / 478.4 MB, free: 11.42 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.4428, allocations: 125.3 kB / 478.5 MB, free: 11.29 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4428, allocations: 4 kB / 478.5 MB, free: 11.29 MB / 362.8 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000535/0.4433, allocations: 389.9 kB / 478.9 MB, free: 10.9 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4434, allocations: 4 kB / 478.9 MB, free: 10.9 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4434, allocations: 4 kB / 478.9 MB, free: 10.89 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.4434, allocations: 8 kB / 478.9 MB, free: 10.89 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.4437, allocations: 87.89 kB / 479 MB, free: 10.8 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.4438, allocations: 7.938 kB / 479 MB, free: 10.79 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.444, allocations: 43.94 kB / 479 MB, free: 10.75 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.444, allocations: 24 kB / 479.1 MB, free: 10.73 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 (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.000163/0.4442, allocations: 128.5 kB / 479.2 MB, free: 10.6 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.4442, allocations: 35.53 kB / 479.2 MB, free: 10.56 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.4447, allocations: 280.5 kB / 479.5 MB, free: 10.29 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4447, allocations: 11.91 kB / 479.5 MB, free: 10.28 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4447, allocations: 4 kB / 479.5 MB, free: 10.27 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4448, allocations: 0 / 479.5 MB, free: 10.27 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.4452, allocations: 377.3 kB / 479.9 MB, free: 9.855 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4452, allocations: 0 / 479.9 MB, free: 9.855 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.4455, allocations: 63.89 kB / 480 MB, free: 9.793 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4456, allocations: 4 kB / 480 MB, free: 9.789 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.4456, allocations: 8 kB / 480 MB, free: 9.781 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4456, allocations: 4 kB / 480 MB, free: 9.777 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4456, allocations: 4 kB / 480 MB, free: 9.773 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.4462, allocations: 446.7 kB / 480.4 MB, free: 9.32 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.018e-05/0.4463, allocations: 112.6 kB / 480.5 MB, free: 9.191 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.4463, allocations: 11.98 kB / 480.5 MB, free: 9.18 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.4465, allocations: 15.98 kB / 480.5 MB, free: 9.164 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.4465, allocations: 11.98 kB / 480.6 MB, free: 9.152 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.4465, allocations: 12 kB / 480.6 MB, free: 9.141 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0002612/0.4468, allocations: 266.2 kB / 480.8 MB, free: 8.879 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4468, allocations: 4 kB / 480.8 MB, free: 8.875 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0003103/0.4471, allocations: 63.84 kB / 480.9 MB, free: 8.812 MB / 362.8 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 () * 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.0008395/0.448, allocations: 0.9851 MB / 481.9 MB, free: 7.797 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0004142/0.4484, allocations: 251.7 kB / 482.1 MB, free: 7.551 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4484, allocations: 0 / 482.1 MB, free: 7.551 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4486, allocations: 99.91 kB / 482.2 MB, free: 7.453 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.4489, allocations: 33.55 kB / 482.3 MB, free: 7.418 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.4501, allocations: 0.7041 MB / 483 MB, free: 6.672 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.4506, allocations: 0.8463 MB / 483.8 MB, free: 5.801 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.4507, allocations: 75.22 kB / 483.9 MB, free: 5.73 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.4509, allocations: 135.4 kB / 484 MB, free: 5.598 MB / 362.8 MB Notification: Performance of SimCode: time 6.31e-07/0.4509, allocations: 0 / 484 MB, free: 5.598 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01853/0.4695, allocations: 5.734 MB / 489.7 MB, free: 15.96 MB / 378.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/0.4698, allocations: 177.1 kB / 489.9 MB, free: 15.73 MB / 378.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.066/2.536, allocations: 0 / 489.9 MB, free: 15.73 MB / 378.8 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)