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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007061/0.007061, allocations: 101.9 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 196.3 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06502/0.06502, allocations: 11.2 MB / 301.7 MB, free: 4.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 59.72 kB / 417.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09438, allocations: 51.99 MB / 469.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003734/0.09816, allocations: 2.204 MB / 471.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.0991, allocations: 447.9 kB / 472 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.09928, allocations: 15.88 kB / 472 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.09951, allocations: 63.33 kB / 472.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.986e-05/0.09962, allocations: 35.61 kB / 472.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.1001, allocations: 215.6 kB / 472.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005675/0.1007, allocations: 0.4965 MB / 472.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1009, allocations: 100.7 kB / 472.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.1011, allocations: 155.5 kB / 473 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.1013, allocations: 183 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.1014, allocations: 32 kB / 473.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.064e-05/0.1014, allocations: 28 kB / 473.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1016, allocations: 127.6 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.1018, allocations: 186.8 kB / 473.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.1023, allocations: 390.3 kB / 474 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1023, allocations: 0 / 474 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1023, allocations: 0 / 474 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1023, allocations: 0 / 474 MB, free: 10.44 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001275/0.1036, allocations: 0.7519 MB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1037, allocations: 11.89 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.967e-05/0.1038, allocations: 74.72 kB / 474.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.684e-05/0.1039, allocations: 60.56 kB / 474.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.1044, allocations: 395.9 kB / 475.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.1045, allocations: 25.38 kB / 475.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.9e-05/0.1046, allocations: 52.25 kB / 475.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007565/0.1054, allocations: 456 kB / 475.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1054, allocations: 7.922 kB / 475.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.1054, allocations: 16 kB / 475.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.1055, allocations: 12 kB / 475.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.106, allocations: 318.3 kB / 476.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.1086, allocations: 1.884 MB / 478 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.1091, allocations: 179.6 kB / 478.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.1093, allocations: 112.8 kB / 478.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.1094, allocations: 4 kB / 478.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1094, allocations: 38.94 kB / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.1094, allocations: 0 / 478.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007785/0.1102, allocations: 323.9 kB / 478.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.1102, allocations: 59.41 kB / 478.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.1107, allocations: 437.7 kB / 479.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1108, allocations: 29.7 kB / 479.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.111, allocations: 264.2 kB / 479.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.1111, allocations: 87.22 kB / 479.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1112, allocations: 85.64 kB / 479.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1114, allocations: 350.8 kB / 479.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.1116, allocations: 100.4 kB / 480 MB, free: 4.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.1119, allocations: 249.4 kB / 480.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.1135, allocations: 0.6271 MB / 480.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1135, allocations: 0 / 480.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007538/0.1142, allocations: 465.4 kB / 481.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1143, allocations: 4 kB / 481.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1143, allocations: 12.03 kB / 481.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.1143, allocations: 4 kB / 481.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.1147, allocations: 95.83 kB / 481.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/0.1147, allocations: 15.92 kB / 481.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.1149, allocations: 51.61 kB / 481.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.115, allocations: 20 kB / 481.6 MB, free: 2.398 MB / 350.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: 22 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003605/0.1154, allocations: 204.1 kB / 481.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.1155, allocations: 39.72 kB / 481.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006753/0.1161, allocations: 289.1 kB / 482.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1162, allocations: 4 kB / 482.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.1162, allocations: 3.938 kB / 482.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1162, allocations: 0 / 482.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006269/0.1168, allocations: 401.3 kB / 482.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1168, allocations: 0 / 482.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.1172, allocations: 55.95 kB / 482.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1172, allocations: 0 / 482.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.1172, allocations: 11.98 kB / 482.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.1172, allocations: 7.938 kB / 482.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1173, allocations: 7.938 kB / 482.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.1181, allocations: 478.9 kB / 483 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.1182, allocations: 116.8 kB / 483.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.1182, allocations: 15.92 kB / 483.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1184, allocations: 7.984 kB / 483.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.1185, allocations: 19.92 kB / 483.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.1185, allocations: 8 kB / 483.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.1189, allocations: 291.1 kB / 483.5 MB, free: 388 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1189, allocations: 0 / 483.5 MB, free: 388 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.1193, allocations: 67.84 kB / 483.5 MB, free: 320 kB / 350.1 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 (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.001171/0.1205, allocations: 1.019 MB / 484.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.1211, allocations: 284.8 kB / 484.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1211, allocations: 0 / 484.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1213, allocations: 116.1 kB / 485 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1217, allocations: 41.73 kB / 485 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.1267, allocations: 3.759 MB / 488.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.1273, allocations: 0.8425 MB / 489.6 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.1275, allocations: 79.16 kB / 489.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.1277, allocations: 147.4 kB / 489.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1277, allocations: 0 / 489.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.1581, allocations: 6.444 MB / 496.3 MB, free: 3.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.349, allocations: 7.938 kB / 496.3 MB, free: 3.492 MB / 366.1 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/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)