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 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.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.001386/0.001387, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001778/0.001779, allocations: 187 kB / 16.25 MB, free: 6.617 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.573/1.573, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05674/0.05674, allocations: 10.74 MB / 280.2 MB, free: 10.64 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.001364/0.001364, allocations: 67.91 kB / 340.1 MB, free: 23.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09573, allocations: 49.01 MB / 389.2 MB, free: 6.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.003406/0.09918, allocations: 2.209 MB / 391.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.101, allocations: 1.014 MB / 392.4 MB, free: 3.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1012, allocations: 15.88 kB / 392.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1015, allocations: 71.59 kB / 392.5 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1017, allocations: 51.7 kB / 392.5 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00081/0.1025, allocations: 283.6 kB / 392.8 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.1032, allocations: 0.5902 MB / 393.4 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.1035, allocations: 97.27 kB / 393.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.1038, allocations: 211.2 kB / 393.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.1042, allocations: 243.1 kB / 393.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.1042, allocations: 32 kB / 394 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1044, allocations: 111.9 kB / 394.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1046, allocations: 155.5 kB / 394.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.1049, allocations: 218.5 kB / 394.4 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006007/0.1055, allocations: 0.4944 MB / 394.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1055, allocations: 0 / 394.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.008e-06/0.1055, allocations: 0 / 394.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1055, allocations: 7.938 kB / 394.9 MB, free: 0.6758 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001576/0.1071, allocations: 0.8395 MB / 395.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1072, allocations: 11.89 kB / 395.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.1074, allocations: 82.72 kB / 395.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1075, allocations: 64.27 kB / 395.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.108, allocations: 409.7 kB / 396.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.108, allocations: 29.38 kB / 396.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.1081, allocations: 52.3 kB / 396.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008623/0.109, allocations: 0.5046 MB / 396.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.109, allocations: 15.89 kB / 396.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1091, allocations: 16 kB / 396.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1091, allocations: 8 kB / 396.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.1098, allocations: 395.7 kB / 397.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.1129, allocations: 1.791 MB / 399.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005365/0.1135, allocations: 270.4 kB / 399.4 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.1138, allocations: 188.7 kB / 399.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.1138, allocations: 8 kB / 399.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004407/0.1143, allocations: 249 kB / 399.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 3.055e-06/0.1143, allocations: 0 / 399.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.001066/0.1153, allocations: 0.5818 MB / 400.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.1154, allocations: 85.38 kB / 400.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005492/0.116, allocations: 485.8 kB / 401 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.116, allocations: 33.7 kB / 401 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.1163, allocations: 283.8 kB / 401.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.1164, allocations: 134.2 kB / 401.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.1165, allocations: 106.1 kB / 401.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.1167, allocations: 370.7 kB / 401.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.117, allocations: 161.1 kB / 402 MB, free: 9.277 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.1174, allocations: 325.8 kB / 402.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.1195, allocations: 1.09 MB / 403.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.1195, allocations: 4 kB / 403.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001065/0.1206, allocations: 0.7187 MB / 404.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.1206, allocations: 41.69 kB / 404.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1206, allocations: 4 kB / 404.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.1207, allocations: 12 kB / 404.2 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.1212, allocations: 131.8 kB / 404.3 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.1212, allocations: 11.94 kB / 404.4 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.1214, allocations: 63.33 kB / 404.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.1215, allocations: 24 kB / 404.4 MB, free: 6.684 MB / 302.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: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * 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.0003453/0.1218, allocations: 282.9 kB / 404.7 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.1219, allocations: 55.33 kB / 404.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008349/0.1228, allocations: 0.5137 MB / 405.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1228, allocations: 4 kB / 405.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1228, allocations: 0 / 405.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1228, allocations: 11.94 kB / 405.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.1233, allocations: 476.8 kB / 405.8 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1233, allocations: 0 / 405.8 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.1238, allocations: 91.88 kB / 405.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1238, allocations: 0 / 405.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.1238, allocations: 15.98 kB / 405.9 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1239, allocations: 4 kB / 405.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1239, allocations: 0 / 405.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1249, allocations: 0.7117 MB / 406.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.125, allocations: 124.6 kB / 406.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.125, allocations: 19.98 kB / 406.7 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.1252, allocations: 15.98 kB / 406.7 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.1253, allocations: 19.97 kB / 406.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.1253, allocations: 12 kB / 406.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.1257, allocations: 331.1 kB / 407.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1257, allocations: 0 / 407.1 MB, free: 3.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003865/0.1261, allocations: 123.8 kB / 407.2 MB, free: 3.781 MB / 302.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.001333/0.1274, allocations: 1.305 MB / 408.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008755/0.1283, allocations: 0.5938 MB / 409.1 MB, free: 1.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1283, allocations: 192 / 409.1 MB, free: 1.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.1286, allocations: 275.1 kB / 409.4 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1289, allocations: 55.8 kB / 409.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005655/0.1346, allocations: 5.127 MB / 414.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.135, allocations: 0.882 MB / 415.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.1353, allocations: 108.1 kB / 415.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.1355, allocations: 179.4 kB / 415.7 MB, free: 10.95 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1355, allocations: 4 kB / 415.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.1566, allocations: 8.712 MB / 424.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.1568, allocations: 231 kB / 424.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.349, allocations: 0 / 424.7 MB, free: 2.055 MB / 318.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)