Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_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.006339/0.006339, allocations: 101.2 kB / 15.73 MB, free: 6.004 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.001358/0.001358, allocations: 187 kB / 16.67 MB, free: 5.922 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.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06122/0.06122, allocations: 10.75 MB / 280.7 MB, free: 10.37 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.001905/0.001905, allocations: 67.91 kB / 390.3 MB, free: 5.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2944, allocations: 49.02 MB / 439.4 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003955/0.2984, allocations: 2.095 MB / 441.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2998, allocations: 0.4928 MB / 441.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.3003, allocations: 18.09 kB / 442 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.3006, allocations: 51.27 kB / 442 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.3009, allocations: 33.22 kB / 442 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000944/0.3018, allocations: 240.7 kB / 442.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008397/0.3027, allocations: 0.4888 MB / 442.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3029, allocations: 83.61 kB / 442.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.3033, allocations: 173.4 kB / 443 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.3036, allocations: 176.5 kB / 443.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.3038, allocations: 28.12 kB / 443.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.3039, allocations: 32.09 kB / 443.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.3041, allocations: 127.5 kB / 443.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/0.3044, allocations: 170.1 kB / 443.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.3049, allocations: 369.5 kB / 443.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3049, allocations: 0 / 443.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3049, allocations: 1.625 kB / 443.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.305, allocations: 3.938 kB / 443.9 MB, free: 2.297 MB / 318.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.001535/0.3065, allocations: 0.7272 MB / 444.6 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3066, allocations: 14.33 kB / 444.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.3067, allocations: 77.91 kB / 444.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3068, allocations: 47.56 kB / 444.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.3074, allocations: 380.9 kB / 445.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/0.3075, allocations: 80.06 kB / 445.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.453e-05/0.3076, allocations: 39.28 kB / 445.3 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007822/0.3084, allocations: 418.5 kB / 445.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.3084, allocations: 7.812 kB / 445.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.3085, allocations: 14.53 kB / 445.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3085, allocations: 8.281 kB / 445.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006289/0.3091, allocations: 300.3 kB / 446 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.312, allocations: 1.555 MB / 447.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.3125, allocations: 195 kB / 447.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.3128, allocations: 120.1 kB / 447.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.3128, allocations: 3.312 kB / 447.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3129, allocations: 31.72 kB / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.394e-06/0.3129, allocations: 0 / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008154/0.3137, allocations: 349.4 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3138, allocations: 53.75 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.3144, allocations: 395.8 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3144, allocations: 30.8 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.3146, allocations: 244.2 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.3147, allocations: 89.53 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3149, allocations: 75.22 kB / 449.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.315, allocations: 357.5 kB / 449.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.3153, allocations: 98.36 kB / 449.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.3156, allocations: 223.4 kB / 449.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.3172, allocations: 0.6228 MB / 450.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.3173, allocations: 1.156 kB / 450.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008873/0.3181, allocations: 441.9 kB / 450.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.3182, allocations: 5.938 kB / 450.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3182, allocations: 4.469 kB / 450.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.3182, allocations: 5.594 kB / 450.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.3187, allocations: 94.56 kB / 450.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.321e-05/0.3187, allocations: 14.28 kB / 450.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.319, allocations: 51.78 kB / 451 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.319, allocations: 12.31 kB / 451 MB, free: 13.54 MB / 334.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 (48): * Single equations (assignments): 48 * 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.0003346/0.3194, allocations: 200.1 kB / 451.2 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.3195, allocations: 36.27 kB / 451.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.3201, allocations: 310.1 kB / 451.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3202, allocations: 2.75 kB / 451.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3202, allocations: 3.938 kB / 451.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3202, allocations: 1.375 kB / 451.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005798/0.3208, allocations: 392.1 kB / 451.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3208, allocations: 0 / 451.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.3212, allocations: 66.23 kB / 452 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.3212, allocations: 5.125 kB / 452 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.3213, allocations: 11.98 kB / 452 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.3213, allocations: 1.094 kB / 452 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3213, allocations: 7.875 kB / 452 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.3221, allocations: 494 kB / 452.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3223, allocations: 121.9 kB / 452.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.3223, allocations: 15.58 kB / 452.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3225, allocations: 12.45 kB / 452.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.3226, allocations: 19.89 kB / 452.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.3226, allocations: 8.234 kB / 452.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003824/0.323, allocations: 274.1 kB / 452.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.323, allocations: 1.125 kB / 452.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.3234, allocations: 62.45 kB / 453 MB, free: 12.14 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.001211/0.3247, allocations: 1.041 MB / 454 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006715/0.3254, allocations: 297.5 kB / 454.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3254, allocations: 1.031 kB / 454.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.3256, allocations: 119.8 kB / 454.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.326, allocations: 38.67 kB / 454.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.3318, allocations: 3.66 MB / 458.2 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.3325, allocations: 0.8258 MB / 459 MB, free: 7.707 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.3328, allocations: 73.91 kB / 459.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.3331, allocations: 135.1 kB / 459.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3331, allocations: 1.375 kB / 459.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.3644, allocations: 6.283 MB / 465.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/8.755, allocations: 11.75 kB / 465.5 MB, free: 2.32 MB / 334.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)