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.005546/0.005546, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.002366/0.002366, allocations: 201.4 kB / 16.68 MB, free: 5.977 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.491/1.491, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05859/0.05859, allocations: 10.74 MB / 280.7 MB, free: 10.43 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.001603/0.001603, allocations: 78.66 kB / 390.4 MB, free: 5.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2615, allocations: 49 MB / 439.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003205/0.2647, allocations: 2.102 MB / 441.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2658, allocations: 0.5012 MB / 442 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.2659, allocations: 9.438 kB / 442 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.2662, allocations: 52.36 kB / 442 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.718e-05/0.2663, allocations: 39.98 kB / 442.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.2669, allocations: 237 kB / 442.3 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000529/0.2675, allocations: 0.4936 MB / 442.8 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.2677, allocations: 83.06 kB / 442.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.2678, allocations: 174 kB / 443 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.2681, allocations: 179.3 kB / 443.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.2681, allocations: 28.16 kB / 443.2 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.161e-05/0.2682, allocations: 28.53 kB / 443.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.2683, allocations: 122.8 kB / 443.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.2685, allocations: 171 kB / 443.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.2689, allocations: 368.4 kB / 443.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2689, allocations: 6.047 kB / 443.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.2689, allocations: 0 / 443.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.2689, allocations: 0 / 443.9 MB, free: 2.324 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.001065/0.27, allocations: 0.7349 MB / 444.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2701, allocations: 13.83 kB / 444.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.084e-05/0.2701, allocations: 70.91 kB / 444.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.2702, allocations: 46.75 kB / 444.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.2707, allocations: 380.5 kB / 445.2 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.2707, allocations: 76.78 kB / 445.2 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.2708, allocations: 40.16 kB / 445.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.2715, allocations: 418.4 kB / 445.7 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.2715, allocations: 11.05 kB / 445.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.2716, allocations: 10.5 kB / 445.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.2716, allocations: 8.25 kB / 445.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005839/0.2722, allocations: 301.8 kB / 446 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.2745, allocations: 1.564 MB / 447.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.275, allocations: 186.6 kB / 447.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/0.2752, allocations: 124 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.2753, allocations: 3.562 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.2753, allocations: 35.84 kB / 447.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.2753, allocations: 0 / 447.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006674/0.276, allocations: 337.6 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.276, allocations: 57.78 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.2764, allocations: 400.6 kB / 448.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.2765, allocations: 29.7 kB / 448.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.2766, allocations: 240.1 kB / 448.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.2767, allocations: 89.86 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2768, allocations: 75.5 kB / 449.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2769, allocations: 357.3 kB / 449.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2771, allocations: 102.4 kB / 449.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.2774, allocations: 211.6 kB / 449.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.279, allocations: 0.623 MB / 450.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.279, allocations: 0 / 450.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007043/0.2797, allocations: 446.6 kB / 450.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2797, allocations: 5.5 kB / 450.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2797, allocations: 4.594 kB / 450.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2798, allocations: 9.5 kB / 450.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.2802, allocations: 94.97 kB / 450.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.2802, allocations: 9.812 kB / 450.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.2804, allocations: 47.97 kB / 451 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.2804, allocations: 25.03 kB / 451 MB, free: 13.57 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.0002455/0.2807, allocations: 203.8 kB / 451.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.2807, allocations: 35.55 kB / 451.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005701/0.2813, allocations: 294.7 kB / 451.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2813, allocations: 6.531 kB / 451.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2813, allocations: 7.922 kB / 451.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2813, allocations: 1.344 kB / 451.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.2818, allocations: 387.5 kB / 451.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.2818, allocations: 0 / 451.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.2822, allocations: 70.94 kB / 452 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2823, allocations: 1.031 kB / 452 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.2823, allocations: 7.688 kB / 452 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2823, allocations: 1.281 kB / 452 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.2823, allocations: 7.922 kB / 452 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.2831, allocations: 0.4982 MB / 452.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.2832, allocations: 117 kB / 452.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.2833, allocations: 10.48 kB / 452.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.2834, allocations: 14.8 kB / 452.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.2835, allocations: 14.58 kB / 452.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.2835, allocations: 13.53 kB / 452.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.2838, allocations: 273.8 kB / 453 MB, free: 12.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2838, allocations: 0 / 453 MB, free: 12.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.2842, allocations: 62.8 kB / 453 MB, free: 12.18 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.001118/0.2854, allocations: 1.046 MB / 454.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006168/0.286, allocations: 283.9 kB / 454.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.286, allocations: 2.062 kB / 454.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.2862, allocations: 123.7 kB / 454.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.2866, allocations: 46.52 kB / 454.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.292, allocations: 3.66 MB / 458.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.2925, allocations: 0.8336 MB / 459 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.2927, allocations: 69.52 kB / 459.1 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.293, allocations: 139.2 kB / 459.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of SimCode: time 9.92e-07/0.293, allocations: 1.188 kB / 459.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.3223, allocations: 6.274 MB / 465.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/8.72, allocations: 7.922 kB / 465.5 MB, free: 2.344 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)