Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl",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.002004/0.002004, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003144/0.003145, allocations: 191 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.527/3.527, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.09938/0.09938, allocations: 10.74 MB / 280.5 MB, free: 10.51 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.002428/0.002429, allocations: 63.91 kB / 340.6 MB, free: 23.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2565, allocations: 49.03 MB / 389.7 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.008277/0.2649, allocations: 2.268 MB / 391.9 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.2679, allocations: 0.639 MB / 392.6 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.2684, allocations: 11.94 kB / 392.6 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.2691, allocations: 71.33 kB / 392.7 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.2693, allocations: 47.48 kB / 392.7 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.2709, allocations: 319.5 kB / 393 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.2722, allocations: 0.6481 MB / 393.7 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004145/0.2726, allocations: 110.5 kB / 393.8 MB, free: 2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005274/0.2732, allocations: 203.3 kB / 394 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.2738, allocations: 203 kB / 394.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.274, allocations: 36 kB / 394.2 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.2741, allocations: 36 kB / 394.2 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003997/0.2745, allocations: 163.5 kB / 394.4 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.2749, allocations: 194.7 kB / 394.6 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000999/0.276, allocations: 466.4 kB / 395 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.276, allocations: 0 / 395 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.276, allocations: 4 kB / 395 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.2761, allocations: 0 / 395 MB, free: 0.7188 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002253/0.2783, allocations: 0.744 MB / 395.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.559e-05/0.2784, allocations: 12.03 kB / 395.8 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.2785, allocations: 74.66 kB / 395.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2787, allocations: 52.28 kB / 395.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.2795, allocations: 409.9 kB / 396.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.2796, allocations: 25.03 kB / 396.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2797, allocations: 32.36 kB / 396.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.2808, allocations: 412.1 kB / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.2809, allocations: 7.875 kB / 396.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.281, allocations: 12 kB / 396.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.281, allocations: 8 kB / 396.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.282, allocations: 310.4 kB / 397.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.286, allocations: 1.6 MB / 398.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.2867, allocations: 202.4 kB / 398.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.2871, allocations: 97.09 kB / 399 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.2871, allocations: 4 kB / 399 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.349e-05/0.2872, allocations: 38.52 kB / 399.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 6.001e-06/0.2872, allocations: 0 / 399.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00124/0.2885, allocations: 328.4 kB / 399.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.2886, allocations: 71.28 kB / 399.4 MB, free: 12.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009781/0.2896, allocations: 453.8 kB / 399.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.2897, allocations: 33.7 kB / 399.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.2901, allocations: 259.8 kB / 400.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2903, allocations: 82.84 kB / 400.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/0.2905, allocations: 73.92 kB / 400.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000352/0.2909, allocations: 350.8 kB / 400.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.2912, allocations: 96.27 kB / 400.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.2918, allocations: 224.9 kB / 401 MB, free: 10.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00323/0.295, allocations: 0.59 MB / 401.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.2951, allocations: 4 kB / 401.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00136/0.2964, allocations: 393 kB / 402 MB, free: 9.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.2965, allocations: 12.09 kB / 402 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.2965, allocations: 4 kB / 402 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.406e-05/0.2966, allocations: 11.94 kB / 402 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.2971, allocations: 91.83 kB / 402.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.2972, allocations: 4 kB / 402.1 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.2975, allocations: 43.58 kB / 402.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/0.2976, allocations: 19.94 kB / 402.1 MB, free: 9.215 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P12.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.P11.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (controller2.TS_in,controller1.TS_in,controller2.ATreq_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.00055/0.2982, allocations: 206.5 kB / 402.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.2983, allocations: 39.53 kB / 402.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.2994, allocations: 309.5 kB / 402.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2994, allocations: 4 kB / 402.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2994, allocations: 0 / 402.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.2994, allocations: 3.984 kB / 402.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009412/0.3004, allocations: 417.2 kB / 403.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/0.3004, allocations: 0 / 403.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.301, allocations: 63.91 kB / 403.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.3011, allocations: 0 / 403.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.3011, allocations: 8 kB / 403.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.3012, allocations: 4 kB / 403.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3012, allocations: 0 / 403.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.3027, allocations: 499.1 kB / 403.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.303, allocations: 116.6 kB / 403.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.3031, allocations: 8 kB / 403.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3034, allocations: 15.98 kB / 403.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3036, allocations: 11.92 kB / 403.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.3036, allocations: 8 kB / 403.8 MB, free: 7.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008974/0.3045, allocations: 327 kB / 404.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3046, allocations: 0 / 404.1 MB, free: 7.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006984/0.3053, allocations: 67.75 kB / 404.2 MB, free: 7.051 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * 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.001829/0.3071, allocations: 1.032 MB / 405.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.3083, allocations: 276.8 kB / 405.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.3083, allocations: 8 kB / 405.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.3087, allocations: 107.9 kB / 405.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.3095, allocations: 46.59 kB / 405.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.321, allocations: 3.93 MB / 409.6 MB, free: 1.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/0.3227, allocations: 0.85 MB / 410.4 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005209/0.3233, allocations: 71.23 kB / 410.5 MB, free: 500 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/0.3238, allocations: 147.4 kB / 410.7 MB, free: 352 kB / 302.1 MB Notification: Performance of SimCode: time 3.266e-06/0.3239, allocations: 0 / 410.7 MB, free: 352 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1926/0.5164, allocations: 6.661 MB / 417.3 MB, free: 9.773 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.55/18.07, allocations: 19.92 kB / 417.3 MB, free: 9.758 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_DecoupledControl_NoDecoupledControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1)