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.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001174/0.001174, allocations: 191.6 kB / 16.13 MB, free: 6.668 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.424/1.424, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05551/0.05551, allocations: 10.74 MB / 280.1 MB, free: 10.71 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.001446/0.001446, allocations: 75.88 kB / 340 MB, free: 23.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08841, allocations: 49.01 MB / 389 MB, free: 6.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.004184/0.09265, allocations: 2.15 MB / 391.1 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.09366, allocations: 398.9 kB / 391.5 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.09401, allocations: 11.94 kB / 391.5 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.09431, allocations: 35.66 kB / 391.6 MB, free: 4 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.09455, allocations: 23.8 kB / 391.6 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.09525, allocations: 179.8 kB / 391.8 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.09593, allocations: 443.2 kB / 392.2 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.09614, allocations: 80.92 kB / 392.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.09632, allocations: 135.4 kB / 392.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.09653, allocations: 175.1 kB / 392.6 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.09658, allocations: 16 kB / 392.6 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.09663, allocations: 16 kB / 392.6 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.09677, allocations: 103.7 kB / 392.7 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.09692, allocations: 158.9 kB / 392.9 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.09721, allocations: 318.7 kB / 393.2 MB, free: 2.383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.09722, allocations: 4 kB / 393.2 MB, free: 2.379 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.09722, allocations: 0 / 393.2 MB, free: 2.379 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.09724, allocations: 0 / 393.2 MB, free: 2.379 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.001102/0.09835, allocations: 0.7088 MB / 393.9 MB, free: 1.621 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.0984, allocations: 8.031 kB / 393.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.679e-05/0.09849, allocations: 74.66 kB / 394 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.09856, allocations: 44.38 kB / 394 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.09899, allocations: 363.7 kB / 394.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.09904, allocations: 25.03 kB / 394.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.0991, allocations: 32.38 kB / 394.4 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.09974, allocations: 400.1 kB / 394.8 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.09977, allocations: 15.83 kB / 394.8 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.09981, allocations: 16 kB / 394.8 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.09983, allocations: 8 kB / 394.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005096/0.1003, allocations: 290.4 kB / 395.1 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.1024, allocations: 1.493 MB / 396.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.1028, allocations: 178.4 kB / 396.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.103, allocations: 108.8 kB / 396.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.1031, allocations: 8 kB / 396.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1031, allocations: 34.56 kB / 396.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.1031, allocations: 3.938 kB / 397 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006221/0.1037, allocations: 321.3 kB / 397.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1038, allocations: 55.41 kB / 397.3 MB, free: 14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.1042, allocations: 397.5 kB / 397.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1042, allocations: 33.7 kB / 397.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.1044, allocations: 232 kB / 398 MB, free: 13.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/0.1044, allocations: 82.81 kB / 398 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.1045, allocations: 69.59 kB / 398.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1047, allocations: 354.7 kB / 398.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.1048, allocations: 92.31 kB / 398.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.1051, allocations: 214 kB / 398.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.1065, allocations: 0.577 MB / 399.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1065, allocations: 0 / 399.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006073/0.1071, allocations: 420.8 kB / 399.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1071, allocations: 4 kB / 399.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1071, allocations: 4 kB / 399.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1072, allocations: 8 kB / 399.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.1075, allocations: 91.81 kB / 399.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1075, allocations: 8 kB / 399.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.1077, allocations: 39.98 kB / 399.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.1077, allocations: 24 kB / 399.9 MB, free: 11.24 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.0002435/0.108, allocations: 187.5 kB / 400.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.108, allocations: 43.47 kB / 400.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.1085, allocations: 288.8 kB / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1086, allocations: 0 / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1086, allocations: 0 / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1086, allocations: 0 / 400.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.109, allocations: 377.3 kB / 400.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.109, allocations: 0 / 400.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003216/0.1093, allocations: 79.83 kB / 400.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1093, allocations: 0 / 400.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.1094, allocations: 11.98 kB / 400.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1094, allocations: 0 / 400.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1094, allocations: 3.938 kB / 400.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.1101, allocations: 478.7 kB / 401.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.547e-05/0.1101, allocations: 120.5 kB / 401.5 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.1102, allocations: 11.98 kB / 401.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1103, allocations: 11.98 kB / 401.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.1104, allocations: 11.98 kB / 401.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1104, allocations: 8 kB / 401.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.1107, allocations: 275.1 kB / 401.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1107, allocations: 0 / 401.8 MB, free: 9.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.111, allocations: 59.84 kB / 401.9 MB, free: 9.211 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.0009275/0.112, allocations: 1.02 MB / 402.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.1124, allocations: 276.5 kB / 403.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1125, allocations: 0 / 403.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.1126, allocations: 111.8 kB / 403.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.113, allocations: 41.48 kB / 403.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.1172, allocations: 3.664 MB / 407 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1176, allocations: 0.8307 MB / 407.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.1178, allocations: 74.84 kB / 407.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.1179, allocations: 143.4 kB / 408 MB, free: 2.84 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.118, allocations: 0 / 408 MB, free: 2.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.1347, allocations: 5.736 MB / 413.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.135, allocations: 227.2 kB / 414 MB, free: 12.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/1.985, allocations: 0 / 414 MB, free: 12.9 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)