Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestPD_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_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.0008814/0.0008814, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008426/0.0008426, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05546/0.05546, allocations: 10.75 MB / 281.1 MB, free: 10.53 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.0004597/0.0004598, allocations: 14.97 kB / 341.7 MB, free: 23.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07564/0.07611, allocations: 50 MB / 391.7 MB, free: 5.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002132/0.07828, allocations: 1.797 MB / 393.5 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.07982, allocations: 0.9715 MB / 394.5 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.08, allocations: 19.81 kB / 394.5 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.08023, allocations: 63.61 kB / 394.6 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.08035, allocations: 59.69 kB / 394.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.08103, allocations: 247.6 kB / 394.9 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004879/0.08153, allocations: 0.4966 MB / 395.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.0817, allocations: 76.97 kB / 395.5 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002111/0.08192, allocations: 187.2 kB / 395.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.0822, allocations: 223.1 kB / 395.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.08226, allocations: 12 kB / 395.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.0824, allocations: 79.94 kB / 395.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.08255, allocations: 139.5 kB / 396.1 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.495e-05/0.08264, allocations: 97.39 kB / 396.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.08298, allocations: 351.5 kB / 396.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.08299, allocations: 0 / 396.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.083, allocations: 0 / 396.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.08301, allocations: 0 / 396.5 MB, free: 0.8242 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.001346/0.08436, allocations: 0.7728 MB / 397.3 MB, free: 0 / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.08442, allocations: 8.078 kB / 397.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.776e-05/0.08452, allocations: 90.42 kB / 397.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.08461, allocations: 59.25 kB / 397.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.08508, allocations: 404.7 kB / 397.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.08512, allocations: 29 kB / 397.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.08518, allocations: 43.91 kB / 397.9 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.08592, allocations: 0.5083 MB / 398.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.08596, allocations: 4 kB / 398.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.086, allocations: 16 kB / 398.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.08603, allocations: 15.95 kB / 398.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006059/0.08664, allocations: 391.7 kB / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.08911, allocations: 1.806 MB / 400.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.08961, allocations: 277 kB / 400.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.08987, allocations: 184.6 kB / 401.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.08991, allocations: 8 kB / 401.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.09029, allocations: 252.9 kB / 401.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.175e-06/0.0903, allocations: 0 / 401.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0008904/0.0912, allocations: 0.586 MB / 401.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.09126, allocations: 89.09 kB / 402 MB, free: 11.05 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.09176, allocations: 0.4899 MB / 402.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.0918, allocations: 33.7 kB / 402.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.09198, allocations: 276 kB / 402.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.932e-05/0.09209, allocations: 134.2 kB / 402.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.09212, allocations: 8 kB / 403 MB, free: 10.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.09226, allocations: 374.7 kB / 403.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.09252, allocations: 161.1 kB / 403.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.09288, allocations: 337.8 kB / 403.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.09324, allocations: 262.7 kB / 404.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.09325, allocations: 0 / 404.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000963/0.09422, allocations: 0.7227 MB / 404.8 MB, free: 8.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/0.09428, allocations: 45.69 kB / 404.8 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.0943, allocations: 4 kB / 404.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.09432, allocations: 8 kB / 404.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.09479, allocations: 131.8 kB / 405 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.09481, allocations: 12 kB / 405 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.09505, allocations: 71.25 kB / 405.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.0951, allocations: 24 kB / 405.1 MB, free: 7.875 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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] 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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003487/0.09545, allocations: 282.7 kB / 405.4 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.09552, allocations: 55.3 kB / 405.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/0.09632, allocations: 0.514 MB / 405.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.09634, allocations: 7.984 kB / 405.9 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.09635, allocations: 4 kB / 405.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.09636, allocations: 4 kB / 405.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.09683, allocations: 481 kB / 406.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.09684, allocations: 0 / 406.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/0.09729, allocations: 83.89 kB / 406.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.0973, allocations: 7.953 kB / 406.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.09735, allocations: 15.98 kB / 406.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.09735, allocations: 0 / 406.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.09736, allocations: 0 / 406.5 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009597/0.09832, allocations: 0.7236 MB / 407.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.09843, allocations: 128.5 kB / 407.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.224e-05/0.0985, allocations: 19.94 kB / 407.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.09865, allocations: 19.98 kB / 407.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.09872, allocations: 23.91 kB / 407.4 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.09876, allocations: 15.98 kB / 407.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003338/0.0991, allocations: 334.8 kB / 407.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09911, allocations: 0 / 407.8 MB, free: 5.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004102/0.09953, allocations: 111.8 kB / 407.9 MB, free: 4.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/0.1009, allocations: 1.304 MB / 409.2 MB, free: 3.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007801/0.1017, allocations: 0.5441 MB / 409.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1017, allocations: 0 / 409.7 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000317/0.102, allocations: 276.1 kB / 410 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.1023, allocations: 46.58 kB / 410 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/0.1066, allocations: 3.537 MB / 413.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.1071, allocations: 0.8859 MB / 414.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.1074, allocations: 112.1 kB / 414.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.1076, allocations: 183.3 kB / 414.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1076, allocations: 0 / 414.7 MB, free: 13.86 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.1277, allocations: 8.68 MB / 423.4 MB, free: 5.285 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.128, allocations: 208.5 kB / 423.6 MB, free: 5.043 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/1.797, allocations: 0 / 423.6 MB, free: 5.043 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestPD_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) Environment - environmentSimulation: