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 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) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 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.0008124/0.0008126, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006267/0.006267, allocations: 169.5 kB / 16.27 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05228/0.05228, allocations: 10.75 MB / 281.5 MB, free: 10.68 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004959, allocations: 19.94 kB / 342.3 MB, free: 23.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09594, allocations: 50.01 MB / 392.3 MB, free: 5.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.001994/0.09797, allocations: 1.792 MB / 394.1 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.09869, allocations: 386.9 kB / 394.5 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.09883, allocations: 11.88 kB / 394.5 MB, free: 3.141 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.09902, allocations: 39.66 kB / 394.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.699e-05/0.09912, allocations: 23.8 kB / 394.6 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.09955, allocations: 171.8 kB / 394.8 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004508/0.1, allocations: 447.3 kB / 395.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1002, allocations: 80.88 kB / 395.3 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.1004, allocations: 123.4 kB / 395.4 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1006, allocations: 151.2 kB / 395.5 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.1006, allocations: 16 kB / 395.6 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.1007, allocations: 12 kB / 395.6 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1008, allocations: 115.6 kB / 395.7 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.1009, allocations: 168.6 kB / 395.8 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.1012, allocations: 318.6 kB / 396.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1012, allocations: 0 / 396.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1013, allocations: 0 / 396.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1013, allocations: 0 / 396.2 MB, free: 1.5 MB / 286.1 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.0009845/0.1023, allocations: 0.6427 MB / 396.8 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1023, allocations: 11.97 kB / 396.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.764e-05/0.1024, allocations: 70.72 kB / 396.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.1025, allocations: 48.38 kB / 396.9 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.1029, allocations: 355.8 kB / 397.3 MB, free: 292 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.1029, allocations: 21.03 kB / 397.3 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/0.103, allocations: 40.28 kB / 397.3 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.1036, allocations: 408 kB / 397.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1037, allocations: 11.88 kB / 397.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.1037, allocations: 19.98 kB / 397.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.1037, allocations: 8 kB / 397.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.1043, allocations: 294.4 kB / 398.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.1063, allocations: 1.512 MB / 399.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.1067, allocations: 182.4 kB / 399.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1069, allocations: 112.8 kB / 399.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.1069, allocations: 8 kB / 399.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.107, allocations: 34.56 kB / 399.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.107, allocations: 0 / 399.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006237/0.1076, allocations: 329.4 kB / 400.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.1076, allocations: 59.34 kB / 400.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.108, allocations: 401.5 kB / 400.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1081, allocations: 29.7 kB / 400.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1082, allocations: 235.9 kB / 400.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.1083, allocations: 78.89 kB / 401 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.1083, allocations: 45.69 kB / 401.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1085, allocations: 350.7 kB / 401.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.1086, allocations: 100.3 kB / 401.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1089, allocations: 218 kB / 401.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.1102, allocations: 0.6042 MB / 402.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1102, allocations: 0 / 402.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006433/0.1109, allocations: 420.7 kB / 402.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1109, allocations: 8 kB / 402.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1109, allocations: 4 kB / 402.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1109, allocations: 4.469 kB / 402.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.1113, allocations: 95.83 kB / 402.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.1113, allocations: 11.98 kB / 402.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1115, allocations: 43.58 kB / 402.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.1115, allocations: 16 kB / 402.9 MB, free: 10.37 MB / 302.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.1117, allocations: 199.5 kB / 403.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.1118, allocations: 39.47 kB / 403.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.1123, allocations: 300.8 kB / 403.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1124, allocations: 4 kB / 403.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1124, allocations: 0 / 403.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1124, allocations: 0 / 403.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.1128, allocations: 373.3 kB / 403.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1128, allocations: 0 / 403.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.1131, allocations: 63.83 kB / 403.9 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1131, allocations: 4 kB / 403.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.1131, allocations: 12 kB / 403.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1132, allocations: 4 kB / 403.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1132, allocations: 3.984 kB / 403.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.1138, allocations: 490.7 kB / 404.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.1139, allocations: 124.5 kB / 404.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.114, allocations: 7.938 kB / 404.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.1141, allocations: 15.98 kB / 404.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1142, allocations: 15.97 kB / 404.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1142, allocations: 4 kB / 404.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002609/0.1145, allocations: 271.1 kB / 404.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1145, allocations: 0 / 404.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000317/0.1148, allocations: 75.75 kB / 404.9 MB, free: 8.297 MB / 302.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.0009239/0.1157, allocations: 1.02 MB / 405.9 MB, free: 7.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.1162, allocations: 272.6 kB / 406.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1162, allocations: 4 kB / 406.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.1164, allocations: 119.9 kB / 406.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1168, allocations: 29.94 kB / 406.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.1207, allocations: 3.725 MB / 410 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.1212, allocations: 0.8268 MB / 410.9 MB, free: 2.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001696/0.1213, allocations: 74.91 kB / 410.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.1215, allocations: 139.4 kB / 411.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1215, allocations: 0 / 411.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.1372, allocations: 5.639 MB / 416.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.1375, allocations: 226 kB / 416.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.111, allocations: 0 / 416.9 MB, free: 12.06 MB / 318.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)