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.001726/0.001726, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06509/0.06509, allocations: 10.66 MB / 18.73 MB, free: 1.324 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.847/1.847, allocations: 205.3 MB / 226.9 MB, free: 7.824 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 97.2 kB / 277.3 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.488e-05, allocations: 8 kB / 333.6 MB, free: 28.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1514, allocations: 49.99 MB / 383.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5353/0.6868, allocations: 77.63 MB / 461.2 MB, free: 7.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.6872, allocations: 74.69 kB / 461.3 MB, free: 6.977 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.7012, allocations: 4.482 MB / 465.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.7013, allocations: 0 / 465.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.388e-05/0.7013, allocations: 19.92 kB / 465.8 MB, free: 3.102 MB / 330.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.001082/0.7024, allocations: 0.6175 MB / 466.4 MB, free: 2.469 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/0.7025, allocations: 8.031 kB / 466.4 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.7026, allocations: 51.42 kB / 466.5 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.7033, allocations: 364.4 kB / 466.9 MB, free: 2.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.7033, allocations: 12 kB / 466.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.7034, allocations: 27.91 kB / 466.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004893/0.7039, allocations: 239.9 kB / 467.1 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.7046, allocations: 354.5 kB / 467.5 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.7046, allocations: 7.266 kB / 467.5 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.7047, allocations: 12 kB / 467.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.7047, allocations: 8 kB / 467.5 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.7072, allocations: 1.419 MB / 468.9 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.7076, allocations: 157.1 kB / 469.1 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.7078, allocations: 94 kB / 469.2 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.7078, allocations: 192 / 469.2 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/0.7079, allocations: 42.38 kB / 469.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.082e-06/0.7079, allocations: 0 / 469.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004383/0.7084, allocations: 204 kB / 469.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.7084, allocations: 55.41 kB / 469.5 MB, free: 15.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.7088, allocations: 283.6 kB / 469.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.7088, allocations: 25.7 kB / 469.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.709, allocations: 248.1 kB / 470 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.7091, allocations: 77.31 kB / 470.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.7091, allocations: 4 kB / 470.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.7093, allocations: 358.4 kB / 470.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.7094, allocations: 73.34 kB / 470.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.7097, allocations: 189 kB / 470.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.7099, allocations: 113.8 kB / 470.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7099, allocations: 0 / 470.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005132/0.7104, allocations: 355.3 kB / 471.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.7105, allocations: 8 kB / 471.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7105, allocations: 3.984 kB / 471.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.7105, allocations: 8 kB / 471.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.7109, allocations: 91.77 kB / 471.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.7109, allocations: 8 kB / 471.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.7111, allocations: 31.67 kB / 471.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.7111, allocations: 19.72 kB / 471.3 MB, free: 14.1 MB / 346.7 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.0001967/0.7113, allocations: 134.3 kB / 471.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000337/0.7116, allocations: 207.8 kB / 471.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.691e-05/0.7117, allocations: 31.62 kB / 471.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004845/0.7122, allocations: 255.6 kB / 471.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.7122, allocations: 4 kB / 471.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.7122, allocations: 0 / 471.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.7123, allocations: 0 / 471.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.7127, allocations: 335 kB / 472.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7128, allocations: 0 / 472.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.7131, allocations: 67.58 kB / 472.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7131, allocations: 0 / 472.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.7131, allocations: 8 kB / 472.3 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7132, allocations: 4 kB / 472.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.7132, allocations: 0 / 472.3 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.7138, allocations: 427.6 kB / 472.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.714, allocations: 112.3 kB / 472.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.714, allocations: 3.984 kB / 472.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.7142, allocations: 8 kB / 472.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.7142, allocations: 19.97 kB / 472.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.7143, allocations: 7.688 kB / 472.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.7145, allocations: 212.4 kB / 473.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7145, allocations: 0 / 473.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.7148, allocations: 63.67 kB / 473.2 MB, free: 12.42 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 () * 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.001022/0.7159, allocations: 0.9581 MB / 474.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.7163, allocations: 224.7 kB / 474.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7163, allocations: 0 / 474.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.7164, allocations: 98.34 kB / 474.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.7168, allocations: 22.39 kB / 474.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.7182, allocations: 0.685 MB / 475.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.7187, allocations: 0.8382 MB / 476 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.7189, allocations: 71.17 kB / 476.1 MB, free: 9.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.7191, allocations: 139.6 kB / 476.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7191, allocations: 0 / 476.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.7494, allocations: 4.922 MB / 481.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/0.7497, allocations: 165.3 kB / 481.3 MB, free: 4.516 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.906, allocations: 0 / 481.3 MB, free: 4.516 MB / 346.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)