Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_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.006314/0.006314, allocations: 99.98 kB / 15.73 MB, free: 6.016 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.001507/0.001507, allocations: 187.8 kB / 16.67 MB, free: 5.93 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.0642/0.0642, allocations: 11.22 MB / 301.7 MB, free: 4.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 59.98 kB / 417.3 MB, free: 19.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/0.08953, allocations: 51.97 MB / 469.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.003439/0.09301, allocations: 2.243 MB / 471.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.09477, allocations: 1.021 MB / 472.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.09493, allocations: 15.88 kB / 472.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.09521, allocations: 87.28 kB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.09536, allocations: 75.5 kB / 472.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009006/0.09627, allocations: 338.8 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000699/0.09698, allocations: 0.6145 MB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.09718, allocations: 88.98 kB / 473.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.09745, allocations: 215.3 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003495/0.09781, allocations: 247 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.65e-05/0.0979, allocations: 39.94 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.0981, allocations: 111.9 kB / 474.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.09829, allocations: 155.5 kB / 474.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.09852, allocations: 226.5 kB / 474.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.09913, allocations: 0.5253 MB / 475.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.09915, allocations: 0 / 475.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09916, allocations: 3.938 kB / 475.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.09917, allocations: 0 / 475.3 MB, free: 9.09 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001577/0.1008, allocations: 0.9003 MB / 476.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1008, allocations: 15.89 kB / 476.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.1009, allocations: 78.72 kB / 476.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.101, allocations: 72.5 kB / 476.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.1016, allocations: 446.1 kB / 476.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.1017, allocations: 37.25 kB / 476.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.1018, allocations: 60.3 kB / 476.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008601/0.1026, allocations: 0.5547 MB / 477.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.1027, allocations: 7.953 kB / 477.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.1027, allocations: 16 kB / 477.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1028, allocations: 12 kB / 477.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007261/0.1035, allocations: 411.6 kB / 477.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.1066, allocations: 2.147 MB / 480 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.1071, allocations: 283.6 kB / 480.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.1074, allocations: 176.8 kB / 480.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1074, allocations: 0 / 480.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004279/0.1079, allocations: 260.9 kB / 480.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.1079, allocations: 0 / 480.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.00107/0.109, allocations: 0.5901 MB / 481.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.1091, allocations: 89.03 kB / 481.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.1097, allocations: 0.5058 MB / 481.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.1097, allocations: 33.7 kB / 481.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.11, allocations: 296.4 kB / 482.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.1101, allocations: 142.8 kB / 482.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.1103, allocations: 118.2 kB / 482.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1105, allocations: 370.8 kB / 482.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.1108, allocations: 165.1 kB / 483 MB, free: 1.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.1112, allocations: 361.9 kB / 483.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.1135, allocations: 1.105 MB / 484.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1136, allocations: 4 kB / 484.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001171/0.1147, allocations: 0.7504 MB / 485.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.1148, allocations: 41.69 kB / 485.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1148, allocations: 8.031 kB / 485.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.1148, allocations: 15.94 kB / 485.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.1153, allocations: 131.8 kB / 485.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.1154, allocations: 19.92 kB / 485.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.1156, allocations: 67.5 kB / 485.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.1157, allocations: 32 kB / 485.5 MB, free: 14.3 MB / 366.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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.0003639/0.1161, allocations: 278.5 kB / 485.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.458e-05/0.1162, allocations: 59.66 kB / 485.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009093/0.1171, allocations: 0.5185 MB / 486.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.1171, allocations: 7.938 kB / 486.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1171, allocations: 0 / 486.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1171, allocations: 0 / 486.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.1177, allocations: 493.1 kB / 486.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1177, allocations: 3.938 kB / 486.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.1182, allocations: 83.94 kB / 487 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1182, allocations: 0 / 487 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/0.1182, allocations: 23.92 kB / 487 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.475e-06/0.1183, allocations: 11.92 kB / 487 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1183, allocations: 0 / 487 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1193, allocations: 0.7083 MB / 487.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1195, allocations: 136.6 kB / 487.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.1195, allocations: 16 kB / 487.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.1197, allocations: 19.92 kB / 487.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.1198, allocations: 23.97 kB / 487.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.1198, allocations: 15.98 kB / 487.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.1202, allocations: 350.8 kB / 488.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1202, allocations: 0 / 488.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000441/0.1207, allocations: 115.8 kB / 488.4 MB, free: 11.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.001523/0.1222, allocations: 1.297 MB / 489.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000877/0.1231, allocations: 0.5633 MB / 490.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1231, allocations: 0 / 490.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.1235, allocations: 275.2 kB / 490.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1238, allocations: 57.2 kB / 490.6 MB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.1302, allocations: 5.08 MB / 495.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.1308, allocations: 0.8898 MB / 496.5 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002594/0.131, allocations: 116.3 kB / 496.6 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.1313, allocations: 187.4 kB / 496.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1313, allocations: 0 / 496.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.1658, allocations: 9.233 MB / 0.4942 GB, free: 9.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.606/8.772, allocations: 11.67 kB / 0.4942 GB, free: 9.473 MB / 382.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)